← Back to Clusters

Error Handling in Agent Tools

This cluster focuses on improving error handling and cleanup processes for orphaned messages and tool results within the agent framework.

96 PRs
fix tools sessions Representative: #3647
# Title Author Created GitHub
2541 fix(agents): add error handling to orphaned message cleanup Episkey-G 2026-01-27 View
2557 fix(agents): preserve tool call/result pairing in history limiting steve-rodri 2026-01-27 View
3247 [Bug]: Fix session_status tool validation when called with no arguments (#3226) lewiscutey 2026-01-28 View
3362 fix: auto-repair and retry on orphan tool_result errors samhotchkiss 2026-01-28 View
3622 fix(agents): drop orphan tool results mickobizzle 2026-01-28 View
3647 fix: sanitize tool arguments in session history rep nhangen 2026-01-29 View
3828 fix(providers): add "field required" to failover error patterns ai-fanatic 2026-01-29 View
3880 fix: drop assistant messages with stopReason 'error' to avoid orphaning tool ... SalimBinYousuf1 2026-01-29 View
4009 fix(agent): sanitize messages after orphan user repair drag88 2026-01-29 View
4700 fix: deduplicate tool_use IDs and enable sanitization for Anthropic marcelomar21 2026-01-30 View
4844 fix(agents): skip error/aborted assistant messages in transcript repair lailoo 2026-01-30 View
4922 fix(agents): ensure parallel tool results have correct parentId jduartedj 2026-01-30 View
4964 fix: strip null-valued optional parameters from tool calls for provider compa... umut-polat 2026-01-30 View
6464 fix: trigger model failover on malformed tool-call JSON ai-fanatic 2026-02-01 View
6687 fix(session-repair): strip malformed tool_use blocks to prevent permanent ses... NSEvent 2026-02-01 View
7044 feat: Add local model tool calling support jokelord 2026-02-02 View
7208 Capture tool error occurredAtMs at tool-result boundary markvandeven 2026-02-02 View
7392 OpenResponses: tool output items, reasoning summary, opt‑in tool data cap + c... lylepratt 2026-02-02 View
7525 Agents: skip errored tool calls during pairing justinhuangcode 2026-02-02 View
7760 fix(agents): resolve message ordering conflict during tool execution aryan877 2026-02-03 View
8270 fix: support snake_case 'tool_use' in transcript repair (#8264) heliosarchitect 2026-02-03 View
8312 fix: add logging and markers for tool result repair ekson73 2026-02-03 View
8332 fix: add per-tool-call timeout to prevent agent hangs (v2 - fixes memory leak) vishaltandale00 2026-02-03 View
8345 fix: prevent synthetic error repair from creating tool_result for dropped too... vishaltandale00 2026-02-03 View
8464 feat: make exec approval timeout configurable fabioaraujopt 2026-02-04 View
8874 Fix parameter order in execute function andycaihello 2026-02-04 View
9011 fix(session): auto-recovery for corrupted tool responses [AI-assisted] cheenu1092-oss 2026-02-04 View
9026 fix(session-memory): sanitize content to prevent binary data in memory files Flamrru 2026-02-04 View
9085 fix: improve stability for terminated responses and telegram retries vladdick88 2026-02-04 View
9309 fix(sanitize): filter delivery-mirror messages to preserve tool ordering whoknowsmann 2026-02-05 View