Skip to content

Commit 886fdf5

Browse files
committed
Ensure concurrent prompts are handled
This basically implements the pending prompt queueing RFD. When a prompt request is received while the agent is already generating, we immediately forward the message to Claude and then wait until it replays the message back to us. When it replays it, we respond to the previous prompt request with "end_turn", which also singifies to the client that the message is now being processed by the agent. See agentclientprotocol/agent-client-protocol#484.
1 parent b1d09f2 commit 886fdf5

1 file changed

Lines changed: 288 additions & 216 deletions

File tree

0 commit comments

Comments
 (0)