Bug Description
When a user pauses an Agent's tool call chain and then sends a new message to the Agent, the Agent does not receive/process the new message. Instead, the Agent continues executing the previously paused tool call chain.
Current Behavior
- Agent is executing a tool call chain
- User pauses the tool call chain
- User sends a new message to the Agent
- Bug: Agent does not receive the new message
- Bug: Agent continues executing the paused tool call chain
Expected Behavior
- When tool call chain is paused, Agent should be able to receive and process new messages
- New messages should interrupt or be queued separately from the paused tool call chain
- User should be able to communicate with Agent while tool execution is paused
Impact
- User Experience: Users cannot communicate with Agent during paused state
- Control Loss: Users lose ability to redirect Agent behavior when needed
- Confusion: Unclear what state the Agent is in when paused
Reproduction Steps
- Start an Agent that executes a multi-step tool call chain
- Pause the tool call chain (using pause/stop control)
- Send a new message to the Agent
- Observe: Agent does not respond to the new message
- Observe: Agent continues the paused tool call chain
Suggested Fix
- Implement proper state management for paused tool call chains
- Allow message queue to process new messages even when tool execution is paused
- Consider adding a "resume" or "abort and start new task" option
Priority
🔴 High - affects core Agent interaction and user control
Related
May be related to tool execution state machine and message handling logic.
Bug Description
When a user pauses an Agent's tool call chain and then sends a new message to the Agent, the Agent does not receive/process the new message. Instead, the Agent continues executing the previously paused tool call chain.
Current Behavior
Expected Behavior
Impact
Reproduction Steps
Suggested Fix
Priority
🔴 High - affects core Agent interaction and user control
Related
May be related to tool execution state machine and message handling logic.