Skip to content

Conversation

@erlendp
Copy link

@erlendp erlendp commented Nov 14, 2025

Add support for images in gemini assistant responses (i.e. gemini-2.5-flash-image)

@erlendp erlendp changed the title Gemini Assistant Image Responses feat: Gemini Assistant Image Responses Nov 14, 2025
@erlendp
Copy link
Author

erlendp commented Nov 19, 2025

Is anyone able to take a look at this PR? We're looking to take some code to production soon, and it'd be nice to know our approach is validated by this library!

@joshua-mo-143
Copy link
Collaborator

joshua-mo-143 commented Nov 19, 2025

Hi! I was basically waiting for #1050 to be merged but now that it's merged I can start merging everything else.

Apologies for not communicating that sooner.

You just need to resolve the branch conflicts. The implementation looks OK to me although I do think maybe we should just write a Responses API trait and provide Gemini's "completions" API through it at some point later on

@erlendp
Copy link
Author

erlendp commented Nov 23, 2025

@joshua-mo-143 Should be good to go now - I've also added some missing ImageConfig schema.

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.

2 participants