update
This commit is contained in:
@@ -88,15 +88,15 @@
|
|||||||
│ │ 1. Emit AgentStartEvent │ │
|
│ │ 1. Emit AgentStartEvent │ │
|
||||||
│ │ 2. Emit TurnStartEvent │ │
|
│ │ 2. Emit TurnStartEvent │ │
|
||||||
│ │ 3. Process prompts (emit MessageStart/End) │ │
|
│ │ 3. Process prompts (emit MessageStart/End) │ │
|
||||||
│ │ 4.┌────────────────────────────────────────────────┐ │ │
|
│ │ 4.┌────────────────────────────────────────────────┐ │ │
|
||||||
│ │ │ while true: │ │ │
|
│ │ │ while true: │ │ │
|
||||||
│ │ │ │ Process steering/follow-up messages │ │ │
|
│ │ │ │ Process steering/follow-up messages │ │ │
|
||||||
│ │ │ │ Stream assistant response (LLM call) │ │ │
|
│ │ │ │ Stream assistant response (LLM call) │ │ │
|
||||||
│ │ │ │ Execute tool calls (parallel/sequential) │ │ │
|
│ │ │ │ Execute tool calls (parallel/sequential) │ │ │
|
||||||
│ │ │ │ Emit TurnEndEvent │ │ │
|
│ │ │ │ Emit TurnEndEvent │ │ │
|
||||||
│ │ │ │ Check if should stop │ │ │
|
│ │ │ │ Check if should stop │ │ │
|
||||||
│ │ │ │ Get next steering messages │ │ │
|
│ │ │ │ Get next steering messages │ │ │
|
||||||
│ │ └───┴────────────────────────────────────────────┘ │ │
|
│ │ └───┴────────────────────────────────────────────┘ │ │
|
||||||
│ └────────────────────────────────────────────────────────┘ │
|
│ └────────────────────────────────────────────────────────┘ │
|
||||||
└──────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────┘
|
||||||
│
|
│
|
||||||
|
|||||||
Reference in New Issue
Block a user