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

+33 -1
View File
@@ -168,6 +168,8 @@
},
"appId": "Dify App ID",
"apiKey": "API Key",
"apiKeyCreatePlaceholder": "建立時必填",
"apiKeyWriteOnlyPlaceholder": "留空保留已配置金鑰(目前:{masked})",
"baseUrl": "API 基礎 URL(選填)",
"baseUrlPlaceholder": "預設:使用 Dify 配置",
"iframeUrl": "Iframe URL",
@@ -178,9 +180,26 @@
"subCategory": "二級分類",
"subCategoryPlaceholder": "例如:體系文件(選填)",
"sortOrder": "排序權重",
"sortOrderPlaceholder": "數字越小越靠前,預設 0"
"sortOrderPlaceholder": "數字越小越靠前,預設 0",
"agentCode": "應用類型",
"runtimeProvider": "執行時 Provider",
"conversationMode": "對話形態",
"welcomeMessage": "歡迎語",
"welcomeMessagePlaceholder": "聊天頁展示的歡迎文案(選填,優先於描述)",
"runtimeProviders": {
"dify": "Dify",
"builtin": "內建",
"hybrid": "混合",
"iframe": "Iframe 嵌入"
},
"conversationModes": {
"chat": "普通對話",
"task_chat": "流程型對話",
"embedded": "嵌入頁面"
}
},
"confirmDelete": "確定要刪除該應用嗎?",
"resizeColumn": "拖拽調整列寬,雙擊恢復預設",
"sections": {
"category": "展示分類"
},
@@ -214,6 +233,19 @@
"lockInput": "任務執行期間禁止發送新訊息",
"scheduleTaskRequired": "請先選擇關聯的排程任務"
},
"registry": {
"title": "路由與能力",
"subtitle": "配置 Intent 快路徑與 ERP 知識庫等結構化能力,執行時不再依賴應用名稱判斷",
"intentRoutesLabel": "Intent 路由",
"intentRoutesHint": "勾選後啟用對應快路徑(如請假 SQL、PLM 物料、設備維保、Text2SQL)",
"contentProfileLabel": "內容 Profile",
"contentProfileHint": "選擇 generic_entrance / hr_policy 等 profile,可套用預設歡迎語與推薦問題並寫入結構化欄位",
"contentProfileNone": "不指定",
"applyContentProfileTemplate": "套用模板(僅填空)",
"overwriteContentProfileTemplate": "覆蓋套用模板",
"erpKb": "ERP 固資知識庫",
"erpKbHint": "啟用後聊天頁預設展示企業知識庫,並允許切換到 ERP 固資知識庫"
},
"training": {
"title": "員工培訓配置",
"subtitle": "配置培訓工作區的及格線、複盤要點和題庫。保存後,員工培訓頁會優先讀取這裡的後台內容。",