Repository navigation
v1.2.2
The tone assistant works with Claude models that think on their own (claude-fable-5-2), which
failed after their first tool call, and Claude answers cost much less: the system prompt, tools
and model list are sent with prompt caching, so each tool round trip reads them at a tenth of the
price.
Fixed
- Tone assistant: Claude models that think on their own (claude-fable-5-2 and the like) no longer
fail after their first tool call with "400 Invalidsignatureinthinkingblock". The
assistant sends the long first prompt (with the model list) once and then swaps it for a short
one, but a reply's signed thinking is bound to every message before it, so the swap broke it.
Once a reply carries thinking, the first prompt now stays as it was sent. - Tone assistant: Claude answers cost much less. The system prompt, the tools and the first prompt
(with the model list, the bulk of every request) are sent with prompt caching, so each tool round
trip after the first reads them at a tenth of the price instead of paying them again (the owner's
"Ain't Talkin' 'bout Love" tone with claude-fable-5-2 cost about US$ 1.60 without it). The cost
estimate counts cache writes at 1.25x and reads at 0.1x.