feat(ui): add Claude Opus 4.7 model options#20
Closed
kmichels wants to merge 1 commit intomixpeek:mainfrom
Closed
Conversation
Adds claude-opus-4-7 and claude-opus-4-7[1m] to both the Settings default-model dropdown and the per-session model picker. Opus 4.7 has 1M context natively (docs.claude.com/en/about-claude/models/overview), and the [1m] suffix is kept consistent with the existing 4.6 pattern for any harness-side gating. The shell-quote fix already in place (f9b7b60) ensures the '[1m]' glob-looking suffix reaches the spawn safely.
Contributor
|
Thanks for the PR! These options were already added to main independently — the dropdown now has both claude-opus-4-7 and the [1M] variant. Closing as already implemented. |
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.
Anthropic released Claude Opus 4.7 today (announcement, docs). Adds it to both model selectors:
Per the docs, Opus 4.7 has 1M tokens of context natively (no beta required). Included both
claude-opus-4-7andclaude-opus-4-7[1m]to stay consistent with the existing 4.6 pattern — the[1m]variant is a no-op API-side but exists in case a future harness uses the suffix as an explicit opt-in toggle. Easy to drop the[1m]row if you'd rather not carry both.Order in the dropdown: new 4.7 entries go above the 4.6 entries so the latest model is at the top of each family section.
Notes
[1m]glob-looking suffix is already handled by_shell_quote_flags()from fix(spawn): shell-safe flag quoting + default-model settings (replaces #18) #19 (f9b7b60) — no new quoting work needed.claude-haiku-4-5-20251001is still the current Haiku (claude-haiku-4-5alias), so no Haiku changes.Test plan
python3 -c "import ast; ast.parse(open('amux-server.py').read())"passescurl $AMUX_URL/)claude-opus-4-7[1m]and confirm 1M context window is honored (can only confirm locally)