fix: reset tool call state between turns

This commit is contained in:
Pascal 2026-01-10 19:13:38 +01:00
parent b7288a4dd7
commit a02acca38d
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ class AgenticStore {
// Run agentic loop
for (let turn = 0; turn < maxTurns; turn++) {
emittedToolCallStates.clear(); // Reset for new turn
this._currentTurn = turn + 1;
if (signal?.aborted) {