[PR #126] [MERGED] fix: anthropic pipeline image upload #315

Closed
opened 2026-02-15 20:15:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/126
Author: @justinh-rahb
Created: 6/26/2024
Status: Merged
Merged: 6/27/2024
Merged by: @tjbck

Base: mainHead: anthropic-image-fix


📝 Commits (1)

  • 84db93a fix: anthropic pipeline image upload

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 examples/pipelines/providers/anthropic_manifold_pipeline.py (+5 -5)

📄 Description

Fix image processing for Anthropic API compatibility

  • Updated process_image function to handle image_url object directly
  • Modified pipe method to pass correct image data to process_image
  • Ensures image data is formatted as expected by Anthropic API
  • Resolves BadRequestError related to invalid input tags for images

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/126 **Author:** [@justinh-rahb](https://github.com/justinh-rahb) **Created:** 6/26/2024 **Status:** ✅ Merged **Merged:** 6/27/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `anthropic-image-fix` --- ### 📝 Commits (1) - [`84db93a`](https://github.com/open-webui/pipelines/commit/84db93af7c346b651e4afc5f78db7477d8e2d277) fix: anthropic pipeline image upload ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `examples/pipelines/providers/anthropic_manifold_pipeline.py` (+5 -5) </details> ### 📄 Description Fix image processing for Anthropic API compatibility - Updated `process_image` function to handle `image_url` object directly - Modified `pipe` method to pass correct image data to `process_image` - Ensures image data is formatted as expected by Anthropic API - Resolves `BadRequestError` related to invalid input tags for images --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:04 -05:00
yindo closed this issue 2026-02-15 20:15:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#315