Skip to content

Increase the Gemini request timeout to 10 minutes and print/log better messages - #135

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1026667516
Nov 20, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1026667516

Conversation

@copybara-service

Copy link
Copy Markdown

Increase the Gemini request timeout to 10 minutes and print/log better messages

Extract the request timeout into a named constant and increase it from 5 minutes (300,000 ms) to 10 minutes (600,000 ms) to avoid timeouts.

Furthermore, our messaging could be clearer when this happens. This change helps by printing more details as to the cause of the issue, so the user can take better action.

…r messages

Extract the request timeout into a named constant and increase it from 5 minutes (300,000 ms) to 10 minutes (600,000 ms) to avoid timeouts.

Furthermore, our messaging could be clearer when this happens. This change helps by printing more details as to the cause of the issue, so the user can take better action.

PiperOrigin-RevId: 1026775421
@copybara-service
copybara-service Bot merged commit e923d08 into main Nov 20, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1026667516 branch November 20, 2026 22:58
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