Skip to content

Conversation

@RohanDisa
Copy link

Description: Add support for response_format from ProviderStrategy by extracting OpenAI-style JSON schema and mapping it into response_json_schema for Gemini models. Automatically sets the correct response_mime_type when structured output is used.
Fixes issue: #1384

- Add handling for response_format parameter from ProviderStrategy
- Add handling for response_format parameter from ProviderStrategy
@RohanDisa RohanDisa force-pushed the fix/provider-strategy-response-format-support branch 3 times, most recently from 7ceabd4 to 7c9b3ac Compare November 26, 2025 06:29
@RohanDisa RohanDisa force-pushed the fix/provider-strategy-response-format-support branch from 7c9b3ac to 292cfa3 Compare November 26, 2025 06:29
@mdrxy mdrxy changed the title fix(genai): Add ProviderStrategy response_format support fix(genai): add ProviderStrategy response_format support Dec 1, 2025
@mdrxy
Copy link
Member

mdrxy commented Dec 1, 2025

deferring until completion of migration to unified SDK

@mdrxy mdrxy marked this pull request as draft December 1, 2025 20:24
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