-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Feature / Bug
The UI should support "steering commands" -- user inputs that get queued and injected at the next natural breakpoint in the agent's processing stream. These commands should be:
- Editable by the user after typing them, up until the moment they are actually sent/injected
- Injected at the next breakpoint in the agent stream (e.g., between tool calls, between reasoning steps), not requiring the agent to fully finish its current turn
Current behavior
This functionality is not working. It's unclear whether the feature is partially implemented but broken, or not yet implemented.
Expected behavior
- While the agent is mid-response (streaming, executing tool calls, etc.), the user can type a steering command in the input field
- The command sits in an editable queue -- the user can modify or cancel it before it fires
- At the next natural breakpoint in the agent's execution loop, the steering command gets injected as input
- The agent processes the steering command and adjusts its behavior accordingly
Use case
This is critical for interactive development and debugging workflows. When the agent is going down the wrong path mid-response (e.g., making unnecessary tool calls, generating a long unwanted output, or misunderstanding the task), the user needs a way to redirect without:
- Waiting for the full response to complete
- Using the stop button (which is broken per [agent] Stop agent stream command does not fully halt agent execution -- agent freezes then errors #52)
- Losing the agent's current execution context
Context
- Reported by user during onboarding session
- Closely related to [agent] Stop agent stream command does not fully halt agent execution -- agent freezes then errors #52 (stop stream not working) -- both are about mid-stream user control over agent execution
- The editability requirement distinguishes this from a simple "inject message" -- the user needs to be able to draft and revise the steering command while the agent is still running
Reactions are currently unavailable