Repository navigation
feat(agents): Claude Code 2.1.322, which knows Claude Fable 5.2 - #612
Merged
Merged
Conversation
The pinned 2.1.280 predates Claude Fable 5.2: it runs claude-fable-5-2 at a 32K output limit, a 200K window for the bare id, and an unknown price. 2.1.322 gives it 1M and 128K, as it does Sonnet 5.5 and Haiku 5.5. 2.1.322 also turns tool search on by default, which holds back every MCP tool and about half its own until the model searches for them. The bridge sets ENABLE_TOOL_SEARCH=false unless the agent's environment sets it, so the CLI offers the env's tools up front as 2.1.280 did. Its own tools are then 2.1.280's plus Monitor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude Code 2.1.322 resends a request a custom endpoint answered with 400, or 422, without some of its betas, so one injected 400 no longer fails the turn. It sends a 403 once, as 2.1.280 did a 400. Co-Authored-By: Claude Opus 5.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.
Why
The Claude Code agent pins CLI 2.1.280, which predates Claude Fable 5.2. Behind a gateway it runs
claude-fable-5-2on fallback defaults: a 32K output limit, a 200K window for the bare id (long-tool-list envs then exit with "Autocompact is thrashing"), and an unknown price, so the result'scostUSDis a guess. Claude Code 2.1.321 is the first release that knows the model.What changes
CLAUDE_CODE_VERSIONandTOOLS_CLI_VERSIONmove to 2.1.322, the newest release.ClaudeCodeToolgainsMonitor, the one tool the new CLI adds.ToolSearch.cli_envsetsENABLE_TOOL_SEARCH=falseunless the agent's environment sets it. The CLI then sends the env's tools and its own up front, as 2.1.280 did. The README says so.claude-fable-5-2joins_NATIVE_1M_MODELS, so the bridge passes it asclaude-fable-5-2[1m]like the other 1M models.Measured
Both CLIs ran under the bridge's flags against
tst/util/fake_anthropic, on a Linux host:claude-fable-5-2claude-opus-5-5claude-sonnet-5-5,claude-haiku-5-5Monitortoolstools(deferred)ENABLE_TOOL_SEARCH=falsetoolstoolsThe transcript directory naming the bridge relies on (
project_dir) is unchanged.Tests
tst/integration/cli/run_bundle_claude_code_test.pybuilds the image with 2.1.322 and runs the real CLI: 9 passed, including the fourbuiltin_toolsselections.ENABLE_TOOL_SEARCHdefault and its override;claude-fable-5-2added to the 1M model cases.make unit-teston Linux: 14,405 passed. The 3 failures come from the test copy: one needs a git checkout, two run a generated script with a systempython3that lackshttpx. All 3 pass on macOS.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no new actionable issue was found.Summary
Updates Claude Code to 2.1.322, adds
Monitor, and givesclaude-fable-5-2the[1m]suffix.Reviews (2) · Last reviewed commit: "test(agents): fail the retried-install t..." · Reviewed by Greptile