Anthropic extended thinking and signature durability in luca-py
By RepoJournal , from @anurag629's public GitHub activity
Backfilled
Anurag Verma fixed two interdependent bugs in quantized-ai/luca-py that were blocking Anthropic's extended thinking mode from working at all.
The transport layer was never reading the `reasoning_effort` parameter, making extended thinking unreachable on Anthropic [1]. At the same time, the agent was discarding the signature both on the way in and on the way out, leaving nothing to send back to the transport [1]. Fixing only one still produced a 400 error on every multi-turn tool call, so both had to land together. After review, Verma reworked the client foundation, adding three new sections to the implementation [2]. The fix enables both of Anthropic's thinking modes and restores the signature durability that allows the transport's existing replay support to function [2].
One email a day. Unsubscribe in one click.
A short briefing every day anurag629 ships something — in about 3 minutes.
One email a day. Unsubscribe in one click. Read a past issue →
References
- [1] Enable Anthropic extended thinking and make signatures durable ↗ quantized-ai/luca-py
- [2] Enable Anthropic extended thinking and make signatures durable (#3) quantized-ai/luca-py