Skip to content

fix: apply maxReasoningTokens config param to google #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rmshin
Copy link
Contributor

@rmshin rmshin commented Apr 30, 2025

No description provided.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added support for maxReasoningTokens configuration parameter in Google chat models to control token budget during reasoning phases.

  • Modified /core/providers/google/src/models/chat-models/base-chat-model.google.ts to include thinkingBudget property in thinkingConfig when maxReasoningTokens is specified
  • Enhancement integrates with existing reasoningEnabled parameter handling for consistent configuration management

💡 (2/5) Greptile learns from your feedback when you react with 👍/👎!

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

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