Skip to content

fix: support HTTP/HTTPS image URLs in request translators#344

Open
East-rayyy wants to merge 1 commit intodecolua:masterfrom
East-rayyy:fix/support-http-image-urls
Open

fix: support HTTP/HTTPS image URLs in request translators#344
East-rayyy wants to merge 1 commit intodecolua:masterfrom
East-rayyy:fix/support-http-image-urls

Conversation

@East-rayyy
Copy link

Summary

  • Adds HTTP/HTTPS image URL support to the OpenAI-to-Claude request translator using Claude's source: { type: "url" } format
  • Adds HTTP/HTTPS image URL support to the Gemini helper using fileData: { fileUri } format
  • Previously only data: base64 URLs were handled; HTTP/HTTPS URLs were silently dropped

Fixes #208

Previously only base64 data: URLs were handled in the OpenAI-to-Claude
and OpenAI-to-Gemini request translators. HTTP/HTTPS image URLs were
silently dropped, causing vision-capable models to respond with
"I don't see any image."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add multimodal/vision support for Claude and other vision-capable models

1 participant