feat(chat): use Claude Code labels for model names and tiers#2797
Merged
feat(chat): use Claude Code labels for model names and tiers#2797
Conversation
…ation Update Claude Code model IDs to composite format (claude-code:opus/sonnet/haiku), titles to include "Code" prefix, and add tier patterns for UI classification. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
🧪 BenchmarkShould we run the Virtual MCP strategy benchmark for this PR? React with 👍 to run the benchmark.
Benchmark will run on the next push after you react. |
Contributor
Release OptionsShould a new version be published when this PR is merged? React with an emoji to vote on the release type:
Current version: Deployment
|
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.
What is this contribution about?
Updates Claude Code model IDs to use composite format (
claude-code:opus,claude-code:sonnet,claude-code:haiku) and model titles to "Claude Code Opus/Sonnet/Haiku" to match vibegui's labeling from #2767. Adds tier classification (smarter/faster/cheaper) in the model selector and a default model preference for the claude-code provider.How to Test
Review Checklist
🤖 Generated with Claude Code
Summary by cubic
Switch Claude Code models to composite IDs (e.g.,
claude-code:opus) and update titles to "Claude Code ...", with tier badges in the model selector. Adds a resolver for SDK compatibility and default preferences for theclaude-codeprovider.claude-code:opus/sonnet/haiku→ "Claude Code Opus/Sonnet/Haiku".resolveClaudeCodeModelIdand used it in stream-core to map composite IDs to SDK names.claude-codedefault model preferences toclaude-code:sonnet,claude-code:opus,claude-code:haiku.Written for commit db7e118. Summary will update on new commits.