Skip to content

Conversation

@ajac-zero
Copy link
Contributor

Closes #3258

This PR enables using OpenRouter for image generation.

It also adds a couple of new hooks to OpenAIChatModel._process_response to make it easier for subclasses to implement their own logic for FilePart responses, which OpenAIChatModel doesn't support.

@ajac-zero ajac-zero marked this pull request as ready for review November 30, 2025 09:16
@ajac-zero ajac-zero force-pushed the openrouter-image-gen branch from 95fb961 to cfbcb51 Compare December 1, 2025 05:16
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.

Support OpenRouter image generation

1 participant