Repository navigation
feat(claude): add Claude Sonnet 5.5 to the built-in model list - #57
Merged
Merged
Conversation
Claude Code 2.1.284 shipped claude-sonnet-5-5 (1M native context, 128k max output), but the Claude provider's hardcoded catalog topped out at claude-sonnet-5, so it never appeared in the model menu. - Add the claude-sonnet-5-5 built-in entry with the same Reasoning and Context Window options as Sonnet 5, defaulting effort to Medium to match Claude Code's `default_effort` for the model, gated on Claude Code >= 2.1.284 (confirmed: the slug is absent from the 2.1.283 binary and present in 2.1.284) - Extend the version upgrade-message chain and keep xhigh effort unmapped for the new slug so it is not silently promoted to max - Point the bare `sonnet` alias at 5.5 and add sonnet-5.5 / claude-sonnet-5.5 aliases, leaving `sonnet-5` on claude-sonnet-5 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Owner
Author
Test deployment (degraded / tunnel mode)This branch is running on a local test instance, but the external HTTPS # Open the tunnel from your laptop (keep this session open):
ssh -L 8080:127.0.0.1:3779 dgordon@<SERVER_IP>
# THEN, inside that SSH session (i.e. on <SERVER_IP>, not your laptop),
# mint a link whose URL points at your tunnel origin:
node scripts/test-status.ts --pair 7449 --base-url http://127.0.0.1:8080
# finally open the printed http://127.0.0.1:8080/pair#token=... in your local browserSlot: external 7449 ⇄ loopback 3779. |
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
Claude Code 2.1.284 shipped
claude-sonnet-5-5, but the Claude provider's hardcoded catalog topped out atclaude-sonnet-5, so Sonnet 5.5 never appeared in the T3 model menu.claude-sonnet-5-5built-in entry with the same Reasoning / Context Window options as Sonnet 5, gated on Claude Code >=2.1.284.default_effort: "medium"for Sonnet 5.5, vshighfor Sonnet 5).claude-sonnet-5-5[1m]is a valid id in the CLI, but 1M is not the menu default for the Sonnet family).fast_modenor the ultracode-style capabilities, same as Sonnet 5.xhighunmapped for the new slug (it hasxhigh_effort, so it must not be promoted tomax).sonnetalias at 5.5 (mirroring feat(claude): add Claude Fable 5.1 to the built-in model list #55/feat(claude): add Claude Opus 5.5 to the built-in model list #56 forfable/opus), addssonnet-5.5/claude-sonnet-5.5, and leavessonnet-5onclaude-sonnet-5.Why 2.1.284 for the minimum version
Confirmed empirically:
claude-sonnet-5-5is absent from the2.1.283binary's baked-in model catalog and present in2.1.284(checked by unpacking@anthropic-ai/claude-code-linux-x64at both versions).Verification
vp test run apps/server/src/provider/Layers/{ProviderRegistry,ClaudeAdapter}.test.ts apps/server/src/provider/providerSnapshot.test.ts— 120 passed (includes new coverage: model shows at 2.1.284, hidden with upgrade message at 2.1.283,xhighpreserved)vp test run packages/shared/src/model.test.ts,apps/web/src/{modelSelection,providerInstances}.test.ts— passingtsgo --noEmit -p apps/server/tsconfig.json— clean;vp lint/vp fmt --checkon changed files — clean🤖 Generated with Claude Code