fix(agents): refresh provider model presets#555
Closed
cbusillo wants to merge 2 commits intojust-every:mainfrom
Closed
fix(agents): refresh provider model presets#555cbusillo wants to merge 2 commits intojust-every:mainfrom
cbusillo wants to merge 2 commits intojust-every:mainfrom
Conversation
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.
Author
|
Superseded by two focused PRs:
Closing this combined PR to keep review scope clean. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
This started because Every Code was still advertising Anthropic's older
claude-sonnet-4.5slug 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
claude-sonnet-4.5->claude-sonnet-4.6, and pin Claude built-ins to explicit current model namesgemini-3.1-pro-previewandgemini-3-flash-previewqwen3-coder-plusValidation
cargo test -p code-tui deferred_ --lib./build-fast.sh