Skip to content

feat: add thinkingLevel support to Google provider#565

Merged
mikehostetler merged 3 commits into
agentjido:mainfrom
tomtaylor:google-thinking-level
Mar 25, 2026
Merged

feat: add thinkingLevel support to Google provider#565
mikehostetler merged 3 commits into
agentjido:mainfrom
tomtaylor:google-thinking-level

Conversation

@tomtaylor
Copy link
Copy Markdown
Contributor

@tomtaylor tomtaylor commented Mar 25, 2026

Description

Added thinkingLevel option to Google provider for Gemini 3+ models, allowing users to specify reasoning effort as a :minimal, :low, :medium, or :high level. https://ai.google.dev/gemini-api/docs/thinking#thinking-levels

Continue to support thinkingBudget for Gemini 2.5 models, and ensure that the two options cannot be combined in the same request.

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to change)
  • Documentation update

Breaking Changes

n/a

Testing

  • Tests pass (mix test)
  • Quality checks pass (mix quality)

Checklist

  • My code follows the project's style guidelines
  • I have updated the documentation accordingly
  • I have added tests that prove my fix/feature works
  • All new and existing tests pass
  • My commits follow conventional commit format
  • I have NOT edited CHANGELOG.md (it is auto-generated by git_ops)

Related Issues

Closes #564.

@tomtaylor tomtaylor force-pushed the google-thinking-level branch from 3197919 to c7ed3d4 Compare March 25, 2026 15:17
Added `thinkingLevel` option to Google provider for Gemini 3+ models, allowing
users to specify reasoning effort as a `:minimal`, `:low`, `:medium`, or `:high`
level.

Continue to support `thinkingBudget` for Gemini 2.5 models, and ensure that the
two options cannot be combined in the same request.
@tomtaylor tomtaylor force-pushed the google-thinking-level branch from c7ed3d4 to c8ed922 Compare March 25, 2026 15:30
@mikehostetler mikehostetler added the needs_work Changes requested before merge label Mar 25, 2026
@mikehostetler mikehostetler added ready_to_merge and removed needs_work Changes requested before merge labels Mar 25, 2026
@mikehostetler mikehostetler merged commit 28a2c74 into agentjido:main Mar 25, 2026
6 checks passed
@tomtaylor tomtaylor deleted the google-thinking-level branch March 26, 2026 10:57
@tomtaylor
Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support Gemini 3 thinkingLevel parameter

2 participants