Patch Changes
- 72fbd00: Fix
cacheTools: trueexceeding Anthropic's 4-breakpoint-per-request limit (shared with the system prompt and messages), which causes the whole request to be rejected.wrapToolsnow places a single breakpoint on the last tool, which caches the entire tool list since a breakpoint covers everything up to and including it, instead of one on every tool.handleToolCallsno longer markstool_resultblocks, because they accumulate in the message history and would exceed the limit after a few turns.