mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-21 07:39:51 +01:00
1bca40eddf
The inline summarization path computed enableThinking differently from the main agent loop in toolCallingLoop.ts. For Anthropic on non-continuation turns without thinking blocks yet, the old logic set enableThinking=false while the main agent kept it true. This thinking parameter mismatch invalidated the Anthropic message cache, causing 0% cache hit rate on inline summarization requests. Align with the main loop: only disable thinking on continuation turns for Anthropic when no thinking blocks exist in messages.