mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-04-05 12:13:25 +00:00
When an assistant message appears after tool results without a pending user message, append it to the last turn's assistant text instead of dropping it. Also add bakeToolResultsIntoTurns() to merge tool results into turn context when no active H2 session exists for resume, ensuring the model sees the full tool interaction history in follow-up requests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>