The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(agent): render skipped-call notices from the recorded reason
alrcatraz3336c96b879b
diff --git a/agent/tool_executor.py b/agent/tool_executor.pyindex b3b5c11aec0..bfb768e3898 100644--- a/agent/tool_executor.py+++ b/agent/tool_executor.py@@ -31,6 +31,7 @@ from agent.display import (_detect_tool_failure,)from agent.compression_marker import _COMPRESSION_MARKER_PREFIX+from agent.interrupt_control import interrupt_skip_wordingfrom agent.message_sanitization import coalesce_tool_call_idfrom agent.inline_tool_executors import (INLINE_TOOL_EXECUTORS,@@ -1860,7 +1861,7 @@ def _execute_tool_calls_sequential(agent, assistant_message, messages: list, effif not _skip_remaining_sequential(agent, messages, tool_calls[i - 1:], effective_task_id,notice="tool call(s)",- content="[Tool execution cancelled — {name} was skipped due to user interrupt]",+ content=f"[Tool execution cancelled — {{name}} was skipped. {interrupt_skip_wording(agent)}]",hook_error_type="user_interrupt",hook_id=lambda tc: getattr(tc, "id", "") or "",flush_stage="cancelled tool result",@@ -1893,7 +1894,7 @@ def _execute_tool_calls_sequential(agent, assistant_message, messages: list, effif not _skip_remaining_sequential(agent, messages, tool_calls[i:], effective_task_id,notice="remaining tool call(s)",- content="[Tool execution skipped — {name} was not started. User sent a new message]",+ content=f"[Tool execution skipped — {{name}} was not started. {interrupt_skip_wording(agent)}]",flush_stage="skipped tool result",):return