feat(agent): 增强 Agent 配置,新增结构化字段与聊天功能支持

This commit is contained in:
hugo committed 2026-07-07 11:10:32 +08:00
1 parent ac4262cd75
commit c8ce77199e
183 files changed
+11690 -2300

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
> **唯一维护文档**:产品原型、Chatflow 编排、OpenAPI Tool 配置、部署、Agent 配置、验证与排错 **均在本文件**(`docs/features/file-check/technical.md`)。
>
> **通用化说明**:本手册适用于 RoHS、MSDS 等所有文件检核类型。多个 Agent 共用同一 Dify Chatflow;HXOPS 按 Agent `extra_config.tool_run_progress.schedule_task_id` 注入不同 `task_id`。历史查询通过 Tool API `search_file_check_history` 按运行时 `task_id` 解析 Dataset,画布无需 Knowledge Retrieval 节点。
> **通用化说明**:本手册适用于 RoHS、MSDS 等所有文件检核类型。多个 Agent 共用同一 Dify Chatflow;HXOPS 按 Agent Registry 列 `bound_schedule_task_id` 注入不同 `task_id`(`capabilities.task_progress=true`)。历史查询通过 Tool API `search_file_check_history` 按运行时 `task_id` 解析 Dataset,画布无需 Knowledge Retrieval 节点。
>
> **同步维护**:Tool API 契约变更时,须同时更新本文件、`backend/app/services/file_check_tools/openapi_base.json`,并执行 `python backend/scripts/export_file_check_openapi.py` 重新生成 [`docs/openapi/file_check_tools_openapi.json`](../../openapi/file_check_tools_openapi.json)。