-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(google): broaden _is_gemini_3_flash_model to cover all Gemini 3 Flash variants #6210
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,8 @@ def _is_gemini_3_model(model: str) -> bool: | |
|
|
||
| def _is_gemini_3_flash_model(model: str) -> bool: | ||
| """Check if model is Gemini 3 Flash""" | ||
| return "gemini-3-flash" in model.lower() or model.lower().startswith("gemini-3-flash") | ||
| m = model.lower() | ||
| return m.startswith("gemini-3") and "flash" in m | ||
|
Comment on lines
+50
to
+51
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π© New code now matches "gemini-3.5-flash" as a Gemini 3 Flash model (behavioral change) The old code checked Was this helpful? React with π or π to provide feedback. |
||
|
|
||
|
|
||
| def _requires_thought_signatures(model: str) -> bool: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.