feat: 实现 AgentScope tool call context,支持 runtime 上下文续接
This commit is contained in:
@@ -98,7 +98,11 @@ data: <json>
|
||||
- events:在 runtime 发送事件前编译,字段名为 `ui_schema`
|
||||
- history:在历史转换时编译,字段名为 `ui_schema`
|
||||
|
||||
tool 结果不再走 UI 编译链路:`TOOL_CALL_RESULT` 仅提供 `result`,并在持久化时写入 message `content`。
|
||||
tool 结果不再走 UI 编译链路:`TOOL_CALL_RESULT` 提供 `tool_call_args` + `result` 组合。
|
||||
|
||||
- `metadata.tool_agent_output` 是 tool 消息的完整信源(用于 runtime observation 与 history replay)。
|
||||
- `message.content` 保持轻量摘要(当前等于 `result`)。
|
||||
- `tool_call_args` 记录输入参数,`result` 记录输出事实,二者不做冗余重复。
|
||||
|
||||
### 5.3 当前命名差异(实现现状)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user