Repository navigation
Refresh default model catalog for Claude Opus 5 and GPT-6 - #1332
Merged
Merged
Conversation
Anthropic shipped Claude Opus 5 and OpenAI shipped a GPT-6 generation
(gpt-6-astra flagship, gpt-6-sol, gpt-6-luna, gpt-6.1-sol refresh) since
the catalog was last refreshed. Add the new entries to the curated
model registry and advance the five independent fallback-ladder
defaults (auto-detect, monitor/cheap-tier, BUILTIN_TARGETS,
availability env-key defaults, and the Claude subscription default) to
the new flagships. All additions are additive — existing pinned model
ids keep working.
Gemini 4 ("Argon") has no confirmed publicly callable API model id yet
(still limited-tester), so no Google-side change is included.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…gships Follow-up to the model catalog refresh: the router's own claude_oauth_published_aliases_expand_to_concrete_models test still asserted the pre-refresh sonnet/opus targets. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Follow-up to the model catalog refresh: models_for_provider("anthropic")
now returns claude-opus-5 first.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
claude-opus-5) to the Anthropic completions block in the curated model registry (crates/protocol/src/slash.rs), and advances the Claude-subscriptionsonnet/opusshort-alias expansion (resolve_claude_oauth_model) to point atclaude-sonnet-5/claude-opus-5instead ofclaude-sonnet-4-6/claude-opus-4-8.gpt-6-astraflagship,gpt-6-sol,gpt-6-luna, plus thegpt-6.1-solrefresh) to both thecodex-oauthandopenaicompletions blocks.crates/adapter-smith/src/agent.rs::default_auto_detect_spec()—ANTHROPIC_API_KEY→claude-opus-5,OPENAI_API_KEY→gpt-6-astra.crates/adapter-smith/src/interactive.rs::default_monitor_spec()— anthropic monitor tier →claude-sonnet-5.crates/daemon/src/config.rs::BUILTIN_TARGETS— anthropic/openaidefault_modelupdated; doc-comment table updated.crates/daemon/src/availability.rs::smith_auth_methods()— anthropic/openai env-key defaults and the Claude-subscriptiondefault_modelupdated.crates/adapter-smith/src/title_mode.rs::pick_default_spec_str()(cheap/mini tier) is intentionally untouched — no confirmed cheap GPT-6 tier exists yet.docs/model-routing.mdanddocs/smith.mdto match the new defaults and example model ids.claude_oauth.rs's ownresolve_modelalias test, the daemon router'sclaude_oauth_published_aliases_expand_to_concrete_models, andslash.rs'smodels_for_provider("anthropic")ordering assertion.All additions are additive — existing concrete model ids (
claude-opus-4-8,claude-sonnet-4-6,gpt-5.6-sol/terra/luna,gpt-5, etc.) remain in the registry, so any session that already pinned one of those keeps working. Only the default/fallback values move forward.Google/Gemini: no code change included. Gemini 4 ("Argon") has no confirmed, publicly callable API model id yet (still limited-tester) — the existing
gemini-3.8-flash/gemini-3.1-proentries remain the newest actually-callable Gemini models. Flagging this explicitly so the omission reads as a deliberate finding, not a miss.Test plan
cargo build(debug profile) succeeds in the worktree — only pre-existing unrelated dead-code warnings, no new warnings/errors from this change.cargo test --workspace(full, unfiltered suite) passes clean on a committed (non-dirty) tree: 0 failures.target/debug/construct— this is the only workspace binary, and it contains every file this PR touches (crates/protocol,crates/adapter-smith,crates/daemonall link into it).🤖 Generated with Claude Code