mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
0f3a0f78bc
When an assistant message has stopReason 'error', its tool calls are now excluded from pending tool tracking. This prevents synthetic tool results from being generated for calls that will be dropped by provider-specific converters (e.g., Codex drops tool calls from errored messages). Previously, this mismatch caused OpenAI to reject requests with 'No tool call found for function call output with call_id ...' errors. fixes #812
0f3a0f78bc
ยท
2026-01-17 20:20:39 +01:00
History