feat(codex): add gpt-6-sol and gpt-6-luna, route opus/haiku to them - #165
Merged
Merged
Conversation
Register Claude Opus 5.5 (claude-opus-5-5) as an Anthropic-style alias and add the gpt-6-sol and gpt-6-luna Codex models, including -fast variants, on the Responses Lite lane. Map opus/fable aliases to gpt-6-sol and haiku aliases to gpt-6-luna. Sonnet stays on gpt-5.6-terra until gpt-6-terra ships. Hosted web_search upgrades gpt-6-luna to gpt-6-sol, mirroring gpt-5.6-luna. Default request model, auto-review classifier and setup examples move to gpt-6-sol / gpt-6-luna. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019hRNHYfERmkUyMgjEcYe1G Claude session id: 35a26961-32c3-4118-8b3c-bdc97f5f8c97
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.
Adds support for Claude Opus 5.5 and the new GPT-6 Sol and Luna Codex models.
Changes
claude-opus-5-5as an Anthropic-style alias.gpt-6-solandgpt-6-luna(plus-fastvariants) to the registry and Codex allowlist, on the Responses Lite lane likegpt-6-astra.opus/claude-opus-*/fable/claude-fable-*→gpt-6-sol;haiku/claude-haiku-*→gpt-6-luna. Sonnet stays ongpt-5.6-terra(nogpt-6-terrayet).web_searchupgradesgpt-6-luna→gpt-6-sol, mirroringgpt-5.6-luna(assumes luna is lite-only).gpt-6-luna), setup examples in CLI/TUI, README and docs.CLAUDE_CODE_AUTO_COMPACT_WINDOW=272000guidance unchanged; gpt-6 context size not documented.Testing
cargo test,cargo clippy --all-targets,cargo fmt --checkpass; new tests cover alias resolution,claude-opus-5-5,gpt-6-sol-fast, lane selection and routing./v1/modelslistsgpt-6-sol,gpt-6-sol-fast,gpt-6-luna,gpt-6-luna-fast.