Repository navigation
Conversation
Adds claude-fable-5-2 to the built-in Claude Code model options and records its 1M token context window in LIMITS, matching Claude Code's baked-in model catalog.
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 this changes
Adds
claude-fable-5-2(Claude Fable 5.2) to the built-in Claude Code model catalog inserver/drivers/claude.tsand sets its 1,000,000 token context window inserver/context.ts, without changing the default model.Why
Claude Code cannot list models dynamically, so Bloks ships the built-in Claude catalog directly. Claude Code now includes
claude-fable-5-2with a 1M context window (window: 1e6, native_1m: true), so adding it to the picker and context limit table makes it selectable out of the box with accurate context tracking.How you verified it
pnpm typecheckpassespnpm testpasses (node --test test/context.test.ts test/claude-models.test.ts test/cli-catalogs.test.ts)pnpm buildpassesclaude-fable-5-2model id and 1M context window against the installed Claude Code CLI (2.1.322) model catalog and/api/instancesintest/claude-models.test.tsserver/member-access.ts, and the body above says why