Skip to main content

EVENT_AGENT_MESSAGE_QUEUED

Constant EVENT_AGENT_MESSAGE_QUEUED 

Source
pub const EVENT_AGENT_MESSAGE_QUEUED: &str = "agent-message-queued";
Expand description

Fired when a message reaches srv while the agent’s process is still alive (a turn running, or only a command the model sent to the background), so the message waits for that process to end. Lets the pane say so, and how many messages are ahead, instead of “reaching the agent any moment”. Payload: { block_id, message_id, ahead }.