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": "Required when creating",
"apiKeyWriteOnlyPlaceholder": "Leave blank to keep configured key (current: {masked})",
"baseUrl": "API Base URL (Optional)",
"baseUrlPlaceholder": "Default: Dify Config",
"iframeUrl": "Iframe URL",
@@ -178,9 +180,26 @@
"subCategory": "Subcategory",
"subCategoryPlaceholder": "e.g. System Documents (optional)",
"sortOrder": "Sort order",
"sortOrderPlaceholder": "Lower numbers appear first (default 0)"
"sortOrderPlaceholder": "Lower numbers appear first (default 0)",
"agentCode": "Application type",
"runtimeProvider": "Runtime provider",
"conversationMode": "Conversation mode",
"welcomeMessage": "Welcome message",
"welcomeMessagePlaceholder": "Welcome text shown in chat (optional; overrides description)",
"runtimeProviders": {
"dify": "Dify",
"builtin": "Built-in",
"hybrid": "Hybrid",
"iframe": "Iframe embed"
},
"conversationModes": {
"chat": "Standard chat",
"task_chat": "Task-oriented chat",
"embedded": "Embedded page"
}
},
"confirmDelete": "Are you sure you want to delete this agent?",
"resizeColumn": "Drag to resize column; double-click to reset defaults",
"sections": {
"category": "Display category"
},
@@ -214,6 +233,19 @@
"lockInput": "Prevent sending new messages while a task is running",
"scheduleTaskRequired": "Please select a linked schedule first"
},
"registry": {
"title": "Routing & Capabilities",
"subtitle": "Configure intent fast paths and ERP knowledge base without relying on agent name heuristics",
"intentRoutesLabel": "Intent routes",
"intentRoutesHint": "Enable fast paths such as leave SQL, PLM material extraction, maintenance chat, or Text2SQL",
"contentProfileLabel": "Content profile",
"contentProfileHint": "Pick a profile such as generic_entrance or hr_policy, then apply default welcome text and suggested questions into structured columns",
"contentProfileNone": "None",
"applyContentProfileTemplate": "Apply template (fill empty only)",
"overwriteContentProfileTemplate": "Apply template (overwrite)",
"erpKb": "ERP fixed-asset knowledge base",
"erpKbHint": "When enabled, chat defaults to enterprise KB and allows switching to ERP fixed-asset KB"
},
"training": {
"title": "Employee Training Configuration",
"subtitle": "Configure the training workspace pass line, review points, and question bank. After saving, the employee training page will read this backend content first.",