feat: add READY status and multi-turn conversation support
- Add AgentStatusReady status for when agent finishes a prompt - Add AgentReady event published when prompt completes - PromptAgent accepts RUNNING/READY states, marks READY when done - Add /complete endpoint to explicitly complete a task - E2E test polls for READY status instead of file creation - E2E test validates multi-turn conversation flow
This commit is contained in:
@@ -8,7 +8,8 @@ type AgentStatus string
|
||||
const (
|
||||
AgentStatusPending AgentStatus = "PENDING"
|
||||
AgentStatusStarting AgentStatus = "STARTING"
|
||||
AgentStatusRunning AgentStatus = "RUNNING"
|
||||
AgentStatusRunning AgentStatus = "RUNNING" // Agent is processing a prompt
|
||||
AgentStatusReady AgentStatus = "READY" // Agent finished prompt, waiting for next
|
||||
AgentStatusCompleted AgentStatus = "COMPLETED"
|
||||
AgentStatusFailed AgentStatus = "FAILED"
|
||||
AgentStatusStopped AgentStatus = "STOPPED"
|
||||
|
||||
Reference in New Issue
Block a user