-
Notifications
You must be signed in to change notification settings - Fork 375
feat: update default agent to use first_available model selection #2997
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 |
|---|---|---|
| @@ -1,6 +1,15 @@ | ||
| models: | ||
| smart: | ||
| first_available: | ||
| - anthropic/claude-sonnet-4-6 | ||
| - openai/gpt-5 | ||
| - google/gemini-3.5-flash | ||
|
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. [LIKELY HIGH] Potentially non-existent Google model name Same issue as flagged in |
||
| - mistral/mistral-small-latest | ||
| - dmr/ai/qwen3 | ||
|
|
||
| agents: | ||
| root: | ||
| model: auto | ||
| model: smart | ||
| description: A helpful AI assistant | ||
| welcome_message: | | ||
| Hello! I'm your AI assistant. How can I help you today? | ||
|
|
@@ -15,4 +24,4 @@ agents: | |
| toolsets: | ||
| - type: filesystem | ||
| - type: shell | ||
| - type: fetch | ||
| - type: fetch | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[LIKELY HIGH] Potentially non-existent Google model name
gemini-3.5-flashThe
DefaultModelsmap was updated from"gemini-2.5-flash"to"gemini-3.5-flash", and the same name appears indefault.yaml(google/gemini-3.5-flash).Google's Gemini versioning has followed the series
1.0,1.5,2.0,2.5— a jump to3.5is a significant version skip. As of 2026-06-03,gemini-3.5-flashdoes not appear in Google's Gemini API catalog, whilegemini-2.5-flashis a confirmed, released model.Impact: Any user whose sole configured key is
GOOGLE_API_KEY(orGOOGLE_GENAI_API_KEY) will receive an API error ("unknown model" or similar) when thefirst_availableresolver orDefaultModelsauto-detection selects the Google provider. The two affected code paths are:default.yamlline 6:- google/gemini-3.5-flash(newfirst_availablepath)auto.goline 58:"google": "gemini-3.5-flash"(legacyDefaultModelspath)If the intent is to bump to a newly available model, please verify the exact model identifier in the Google Generative AI model docs before merging. If it should remain the previous version, revert to
"gemini-2.5-flash".