feat(agent): implement streaming responses for online Agent and enhance tool execution feedback

This commit is contained in:
HouYunFei
2026-06-16 16:16:04 +08:00
parent 7893bd72dd
commit 27bd6f004b
4 changed files with 146 additions and 38 deletions
@@ -6,3 +6,5 @@ description: 当前版本已实现但仍需人工验证的变更项
# 待测试
- 在线 `Agent` 工具卡片详情不再保存和展示完整上下文消息,只展示当前工具调用和执行结果;需要验证详情内容体积不会随对话历史膨胀。
- 文本生成和在线 `Agent` 的 Responses API 请求已改为流式输出;需要验证生成文本、工具确认前后的对话回复会实时刷新。
- 在线 `Agent` 自动执行工具时会显示已完成工具卡片,并且从生成配置节点触发生成时会使用配置节点的提示词;需要验证关闭工具确认后连接节点并生图时请求不再发送空 `prompt`。