Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

The 1M context window checkbox was appearing for all Anthropic models (including Opus) but it's only supported for Claude Sonnet 4 and 4.5.

  • Changed ModelSettings prop from provider to full model string
  • Now uses supports1MContext() to determine checkbox visibility

Generated with mux

The 1M context window checkbox was appearing for all Anthropic models
(including Opus) but it's only supported for Claude Sonnet 4 and 4.5.

- Changed ModelSettings prop from provider to full model string
- Now uses supports1MContext() to determine checkbox visibility
- Checkbox only appears for claude-sonnet-4 and claude-sonnet-4-5 models
@ammario ammario merged commit 05ce4b6 into main Nov 25, 2025
16 of 19 checks passed
@ammario ammario deleted the fix-1m-context-model-support branch November 25, 2025 01:16
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