You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent does not see tool errors in its history, so it repeats the same failing call #9115
The agent does not see the result of its earlier tool calls. When a call fails, the agent does not know why, so it makes the same call again and again.
In agent-service/src/agent/util/context-utils.ts, serializeTask writes each past tool call as one line:
lines.push(`- ${tc.toolName} (${statusAttr})`);
It only writes the tool name. The system prompt (prompts.ts) says each call should also have Summary, Output, or Error lines, but these lines are never added.
Example on main with claude-haiku-4.5. Prompt: "Add a Limit operator that keeps 10 rows, and connect its input to the existing operator op7." (there is no op7). Every call returned [ERROR] Source operator "op7" not found. The agent made the same modifyOperator call 5 times until it hit the step limit. At turn 3, the agent got this context:
### Turn 1
Thought: I'll add a Limit operator that keeps 10 rows and connect it to op7.
- addOperator (succeeded)
### Turn 2
Thought: I can see that you've already successfully added the Limit operator `op8` ...
- modifyOperator (succeeded)
The error message is not there.
Expected: each tool call in the history should include its summary and output, or the error message if it failed.
How to reproduce?
Open an empty workflow and create an agent.
Send: Add a Limit operator that keeps 10 rows, and connect its input to the existing operator op7.
Click "View details" on a later step and look at Input Messages. Past calls show only - <tool> (succeeded), with no error text. The agent keeps repeating the call.
Screenshots
Step 1, tool call: addOperator returned [ERROR] Source operator "op7" not found.
Step 3, what the agent was given: Turn 1 and Turn 2 only say (succeeded). There is no error text.
The chat: the agent says "Let me connect it to op7" again and again, until the step limit (5).
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Activity
github-actions commentedon Oct 24, 2026
👋 Thanks for opening this issue, @yrenat!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.