Skip to content

fix(agents): refresh provider model presets#556

Open
cbusillo wants to merge 2 commits intojust-every:mainfrom
cbusillo:feat/update-provider-model-presets-only
Open

fix(agents): refresh provider model presets#556
cbusillo wants to merge 2 commits intojust-every:mainfrom
cbusillo:feat/update-provider-model-presets-only

Conversation

@cbusillo
Copy link

@cbusillo cbusillo commented Mar 8, 2026

Summary

  • refresh built-in Anthropic, Gemini, and Qwen agent presets to current provider model IDs
  • keep older slugs resolving via aliases and config upgrade paths so existing configs still work
  • align docs, prompts, and tests with the refreshed provider defaults

Why

This started because Every Code was still advertising Anthropic's older claude-sonnet-4.5 slug even though Anthropic's current lineup has moved to Sonnet 4.6. Once that drift showed up, I refreshed the Gemini and Qwen built-ins at the same time so the provider catalog stayed coherent.

Provider updates

  • Anthropic: claude-sonnet-4.5 -> claude-sonnet-4.6, and pin Claude built-ins to explicit current model names
  • Gemini: move the built-in presets to the latest preview track with gemini-3.1-pro-preview and gemini-3-flash-preview
  • Qwen: update the built-in coder preset to qwen3-coder-plus

Validation

  • ./build-fast.sh

Anthropic's stale Sonnet slug kicked off this refresh.
Update the built-in Anthropic, Gemini, and Qwen presets to current provider model IDs, keep legacy slugs resolving through aliases and validation upgrades, and align docs/examples/tests with the new defaults.
Extend legacy slug upgrades to user-configured `[[agents]]` names and `[[subagents.commands]].agents` lists so older Anthropic, Gemini, and Qwen slugs are rewritten to the new built-in defaults during config load.

Add regression tests for both config locations.
@cbusillo
Copy link
Author

cbusillo commented Mar 8, 2026

Follow-up compatibility fix pushed in f7cf0c18a.

This extends the legacy slug migration path so renamed provider presets are upgraded not only in top-level model fields, but also inside user-configured:

  • [[agents]] names
  • [[subagents.commands]].agents lists

That keeps older Anthropic, Gemini, and Qwen config entries from staying stale after upgrade.

Validation:

  • cargo test -p code-core upgrade_legacy_model_slugs_ --lib
  • ./build-fast.sh

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