feat(file-check): 持久化 chat_tool_runs 并统一 agent_runtime_context 注入
新增跨 worker 进度绑定表与显式 hxops_turn_id 链路;Dify Start 仅注入 agent_runtime_context,task_id/turn_id 写入 refs 供画布解析后回传 Tool。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c778f40fbc
commit
f4e74f7b07
23 files changed
+1580
-196
No files matched your search
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://192.168.36.108:5052",
|
||||
"url": "http://127.0.0.1:5052",
|
||||
"description": "HXOPS_TOOLS_API_BASE"
|
||||
}
|
||||
],
|
||||
@@ -546,12 +546,22 @@
|
||||
"user_message": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"hxops_turn_id": {
|
||||
"type": "string",
|
||||
"nullable": true,
|
||||
"description": "本轮对话唯一标识;须与 agent_runtime_context.refs.hxops_turn_id(经画布 §3.1A 解析)一致,Tool 原样回传"
|
||||
},
|
||||
"hxops_session_id": {
|
||||
"type": "string",
|
||||
"nullable": true,
|
||||
"description": "HXOPS 会话 ID;可与 sys.conversation_id 二选一,优先显式传入"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"task_id"
|
||||
],
|
||||
"description": "Chatflow Tool 节点绑定 task_id(来自 Start 用户输入);user_message 用于进度卡片 turn 匹配"
|
||||
"description": "Chatflow Tool 节点绑定 task_id、hxops_turn_id(经 agent_runtime_context 解析后传入);user_message 用于展示与兼容兜底"
|
||||
},
|
||||
"RunCheckSuccessResponse": {
|
||||
"type": "object",
|
||||
@@ -880,4 +890,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user