Skip to content

feat(claude): add Claude Fable 5.1 to the built-in model list - #55

Merged
DanielGGordon merged 1 commit into
mainfrom
t3code/add-claude-fable-5-1
Sep 11, 2026
Merged

DanielGGordon merged 1 commit into
mainfrom
t3code/add-claude-fable-5-1

Conversation

@DanielGGordon

Copy link
Copy Markdown
Owner

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 at claude-fable-5, so 5.1 never showed in the model menu.

  • New claude-fable-5-1 built-in entry in ClaudeProvider.ts with the same option descriptors as Fable 5: Reasoning (low → ultracode/ultrathink, default high) and Context Window (200k / 1M, default 1M)
  • Version-gated on Claude Code >= 2.1.257 (the release that added the model, per the CLI changelog), following the existing supportsClaude* pattern; the upgrade-message chain now reports the Fable 5.1 hint on 2.1.219–2.1.256
  • claude-fable-5-1 added to the xhigh effort allowlist in normalizeClaudeCliEffort so Extra High isn't downgraded to max
  • Slug aliases in contracts: fable / fable-5.1 / claude-fable-5.1 → claude-fable-5-1, plus fable-5 / claude-fable-5.0 → claude-fable-5

Testing

  • ProviderRegistry.test.ts: include-at-2.1.257 / hide-at-2.1.256 pair mirroring the Fable 5 and Opus 5 gate tests — 46 passed
  • ClaudeAdapter.test.ts: preserves xhigh effort for claude-fable-5-1 — 64 passed
  • packages/shared/model.test.ts: fable alias normalization — 5 passed
  • Typecheck clean on contracts, shared, apps/server; oxlint clean on changed files

(CI on this fork queues forever — verified locally per repo convention.)

🤖 Generated with Claude Code

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>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 11, 2026
@DanielGGordon
DanielGGordon merged commit 64a4996 into main Sep 11, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant