pi-mono/packages/agent/test
Armin Ronacher b27d2af6ba fix(agent): fail tool calls from length-truncated assistant messages
Reverts the malformed-arguments tracking approach in favor of handling
truncation in the agent loop: when an assistant message stops with
"length", all tool calls in it are potentially borked (streamed
arguments are salvage-parsed), so none are executed. Each gets an error
tool result telling the model to re-issue the call, and the loop
continues. No new fields on ToolCall and no provider changes.

fixes #6284
2026-07-07 00:27:21 +02:00
..
harness fix(ai): require OpenAI Responses terminal events 2026-06-23 16:35:45 +02:00
scratch Type name change 2026-06-23 22:00:03 +02:00
utils chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
agent-loop.test.ts fix(agent): fail tool calls from length-truncated assistant messages 2026-07-07 00:27:21 +02:00
agent.test.ts fix(coding-agent): preserve run prompt during tool refresh 2026-06-30 14:08:48 +02:00
e2e.test.ts feat(ai): complete models runtime migration 2026-06-23 15:29:46 +02:00