mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
c1c2bbf146
Sonnet 5.5 and Opus 5.5 think by default and write what they say between tool calls into thinking blocks, which they want back unchanged with the rest of the turn. The client dropped those blocks (and their signatures) and rebuilt the turn from its text and calls, so after a tool result the next step came back empty and the assistant gave up with empty_answer. A turn that thought is now replayed block by block like one that searched the web; the cache mark before the question skips a thinking block, and replayed blocks are copies so a mark never sticks to the stored answer. Closes #2789