feat(claude): add Claude Fable 5.1 to the built-in model list - #55
Merged
Merged
Conversation
Claude Code 2.1.257 shipped claude-fable-5-1 (now the default Fable model, 1M context), but the Claude provider's hardcoded catalog topped out at claude-fable-5, so it never appeared in the model menu. - Add the claude-fable-5-1 built-in entry with the same Reasoning and Context Window options as Fable 5, gated on Claude Code >= 2.1.257 - Extend the version upgrade-message chain and keep xhigh effort unmapped for the new slug - Add fable slug aliases (fable, fable-5.1, fable-5, ...) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
Claude Code 2.1.257 shipped Claude Fable 5.1 (
claude-fable-5-1) — now the default Fable model, 1M context — but T3's Claude provider catalog is hardcoded and topped out atclaude-fable-5, so 5.1 never showed in the model menu.claude-fable-5-1built-in entry inClaudeProvider.tswith the same option descriptors as Fable 5: Reasoning (low → ultracode/ultrathink, default high) and Context Window (200k / 1M, default 1M)supportsClaude*pattern; the upgrade-message chain now reports the Fable 5.1 hint on 2.1.219–2.1.256claude-fable-5-1added to thexhigheffort allowlist innormalizeClaudeCliEffortso Extra High isn't downgraded tomaxfable/fable-5.1/claude-fable-5.1→claude-fable-5-1, plusfable-5/claude-fable-5.0→claude-fable-5Testing
ProviderRegistry.test.ts: include-at-2.1.257 / hide-at-2.1.256 pair mirroring the Fable 5 and Opus 5 gate tests — 46 passedClaudeAdapter.test.ts: preservesxhigheffort forclaude-fable-5-1— 64 passedpackages/shared/model.test.ts:fablealias normalization — 5 passedcontracts,shared,apps/server; oxlint clean on changed files(CI on this fork queues forever — verified locally per repo convention.)
🤖 Generated with Claude Code