Skip to content

feat(google): add image_url support for Gemini adapter#3573

Open
maximizeschneider wants to merge 2 commits intopipecat-ai:mainfrom
maximizeschneider:google-image-url
Open

feat(google): add image_url support for Gemini adapter#3573
maximizeschneider wants to merge 2 commits intopipecat-ai:mainfrom
maximizeschneider:google-image-url

Conversation

@maximizeschneider
Copy link

Summary

  • Enable external URLs for images in Gemini API using Part.from_uri()
  • Previously image_url content type was logged as unsupported, but Google now allows external URLs for file input

Tested with Gemini from Vertex AI.

Reference: https://ai.google.dev/gemini-api/docs/file-input-methods

Enable external URLs for images in Gemini API using Part.from_uri().
Previously this was logged as unsupported, but Google now allows
external URLs for file input.

Tested with Gemini from Vertex AI.

Reference: https://ai.google.dev/gemini-api/docs/file-input-methods
@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pipecat/adapters/services/gemini_adapter.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/pipecat/adapters/services/gemini_adapter.py 49.61% <0.00%> (ø)

... and 27 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant