Skip to content

feat(ui): add Claude Opus 4.7 model options#20

Closed
kmichels wants to merge 1 commit intomixpeek:mainfrom
kmichels:feat/model-opus-4-7
Closed

feat(ui): add Claude Opus 4.7 model options#20
kmichels wants to merge 1 commit intomixpeek:mainfrom
kmichels:feat/model-opus-4-7

Conversation

@kmichels
Copy link
Copy Markdown
Contributor

Anthropic released Claude Opus 4.7 today (announcement, docs). Adds it to both model selectors:

  • Settings → Default Model dropdown
  • Per-session model picker in the edit overlay

Per the docs, Opus 4.7 has 1M tokens of context natively (no beta required). Included both claude-opus-4-7 and claude-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

Test plan

  • python3 -c "import ast; ast.parse(open('amux-server.py').read())" passes
  • Server auto-restart on file save picks up changes
  • Both dropdowns render the new options (verified against curl $AMUX_URL/)
  • Spawn a session with claude-opus-4-7[1m] and confirm 1M context window is honored (can only confirm locally)

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.
@esteininger
Copy link
Copy Markdown
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.

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.

2 participants