Skip to content

Fix Gemini thinking configuration so a negative max_thinking_tokens#727

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_930599906
Open

Fix Gemini thinking configuration so a negative max_thinking_tokens#727
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_930599906

Conversation

@copybara-service

Copy link
Copy Markdown

Fix Gemini thinking configuration so a negative max_thinking_tokens
(e.g. -1) requests a dynamic/adaptive thinking budget while still returning
thought summaries (only a budget of 0 disables thinking), and parse negative
integer kwargs in an LM URI as ints.

(e.g. -1) requests a dynamic/adaptive thinking budget while still returning
thought summaries (only a budget of 0 disables thinking), and parse negative
integer kwargs in an LM URI as ints.

PiperOrigin-RevId: 930599906
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