Skip to content

Conversation

@varghesepaul
Copy link

Adds support for Gemini 3 models with model-specific parameter handling and multi-turn function calling via thought_signature.

Changes:

  • Add gemini-3-pro-preview model
  • Support thinking_level parameter for Gemini 3 models
  • Maintain backward compatibility with thinking_budget for Gemini 2.x
  • Implement thought_signature capture and injection for multi-turn function calls
  • Add model version detection to route parameters correctly
  • Optimize thought_signature handling to only process for Gemini 3 models
  • Inject thought_signature inline during format conversion to avoid post-processing

  and multi-turn function calling via thought_signature.

  Changes:
  - Add gemini-3-pro-preview model
  - Support thinking_level parameter for Gemini 3 models
  - Maintain backward compatibility with thinking_budget for Gemini 2.x
  - Implement thought_signature capture and injection for multi-turn function calls
  - Add model version detection to route parameters correctly
  - Optimize thought_signature handling to only process for Gemini 3 models
  - Inject thought_signature inline during format conversion to avoid post-processing
@varghesepaul varghesepaul force-pushed the gemini3-thinkinglevel-thoughtsignature branch from cfc50c7 to 4efdbba Compare November 20, 2025 04:10
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