Skip to content

fix(agents): refresh provider model presets#555

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

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

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
  • defer session fast mode and 1M context changes until the settings overlay closes so the session does not compact while the user is still in settings
  • 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.

While validating the settings flow, I also fixed the 1M context toggle to stage its session change until settings closes. That avoids mid-settings reconfiguration and the compaction behavior that showed up when flipping the toggle.

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

  • cargo test -p code-tui deferred_ --lib
  • ./build-fast.sh

cbusillo added 2 commits March 8, 2026 04:27
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.
Stage session fast-mode and context-mode changes while the model settings overlay is open, then apply them on close. This prevents the 1M context toggle from reconfiguring the session and compacting history while the user is still inside settings.

Add regression tests covering deferred apply and no-op restores.
@cbusillo
Copy link
Author

cbusillo commented Mar 8, 2026

Superseded by two focused PRs:

Closing this combined PR to keep review scope clean.

@cbusillo cbusillo closed this Mar 8, 2026
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