完善文档
This commit is contained in:
1 parent
192ea96eb4
commit
efc08dab5e
82 files changed
+1455
-109
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# 事件流
|
||||
|
||||
## 事件模型
|
||||
|
||||
推荐事件:
|
||||
|
||||
- `run_start`
|
||||
- `run_status`
|
||||
- `text_delta`
|
||||
- `plan_created`
|
||||
- `plan_updated`
|
||||
- `memory_recall`
|
||||
- `tool_call`
|
||||
- `tool_result`
|
||||
- `reflection`
|
||||
- `error`
|
||||
- `finish`
|
||||
|
||||
## 传输
|
||||
|
||||
SSE 是默认 Agent 流式通道;WebSocket 用于双向实时场景。
|
||||
|
||||
事件必须包含:
|
||||
|
||||
- event_id
|
||||
- run_id
|
||||
- event_type
|
||||
- timestamp
|
||||
- payload
|
||||
Reference in new issue
Block a user