Refactor AI Agent configuration and workflow handling

- Removed runtime mode handling from AIAgentConfigWorkbench and related components.
- Updated tests to reflect changes in AI Agent policy copy and configuration.
- Changed terminology from "workflow" to "revision" in various components and API responses.
- Simplified agent binding logic in channel editing.
- Cleaned up unused variables and types related to runtime modes.
- Updated localization files for consistency with new terminology.
This commit is contained in:
mlogclub
2026-07-27 23:29:02 +08:00
parent 241f274927
commit 847f688398
97 changed files with 1666 additions and 5941 deletions
+2 -8
View File
@@ -419,7 +419,7 @@
"enabledChannels": "Active Channels",
"todayKnowledgeRetrieves": "Knowledge Searches Today",
"todayKnowledgeRetrieveFailRate": "Search Failure Rate Today",
"todaySkillRunFailCount": "Skill Failures Today",
"todayAgentRunFailCount": "Agent Run Failures Today",
"todayAiHandoffCount": "AI-to-Human Handoffs Today",
"empty": "No dashboard overview data yet.",
"summaryTodayNewConversations": "New Conversations Today",
@@ -1644,12 +1644,7 @@
"agentRequired": "Select an AI agent.",
"messageRequired": "Enter a user message.",
"emptyData": "No data",
"skillRouteTrace": "Skill Route Trace",
"toolSearchTrace": "Tool Search Trace",
"graphToolTrace": "Graph Tool Trace",
"traceData": "Trace Data",
"resumeToolSearchTrace": "Resume Tool Search Trace",
"resumeGraphToolTrace": "Resume Graph Tool Trace",
"resumeTraceData": "Resume Trace Data",
"confirm": "Confirm",
"reject": "Cancel",
@@ -1669,7 +1664,7 @@
"matchedAgent": "Matched Agent",
"noAgentSelected": "None selected",
"userMessage": "User Message",
"userMessagePlaceholder": "Enter a user message to debug this skill's routing, tools, and reply.",
"userMessagePlaceholder": "Enter a user message to debug this skill's capability calls and reply inside the Agent Loop.",
"debugSummary": "Debug Summary",
"interrupted": "Interrupted",
"notInterrupted": "Not interrupted",
@@ -1678,7 +1673,6 @@
"errorMessage": "Error Message",
"toolView": "Tool View",
"skillToolWhitelist": "Skill Tool Allowlist",
"exposedTools": "Tools Exposed This Run",
"invokedTools": "Tools Called This Run",
"resumeDebug": "Resume Debug",
"currentCheckpoint": "Current Checkpoint",
+2 -8
View File
@@ -419,7 +419,7 @@
"enabledChannels": "启用中的接入渠道",
"todayKnowledgeRetrieves": "今日知识检索次数",
"todayKnowledgeRetrieveFailRate": "今日检索失败率",
"todaySkillRunFailCount": "今日 Skill 失败次数",
"todayAgentRunFailCount": "今日 Agent 运行失败次数",
"todayAiHandoffCount": "今日 AI 转人工次数",
"empty": "暂无首页概览数据",
"summaryTodayNewConversations": "今日新增会话",
@@ -1645,12 +1645,7 @@
"agentRequired": "请选择 AI Agent",
"messageRequired": "请输入用户消息",
"emptyData": "暂无数据",
"skillRouteTrace": "Skill 路由追踪",
"toolSearchTrace": "工具搜索追踪",
"graphToolTrace": "Graph 工具追踪",
"traceData": "追踪数据",
"resumeToolSearchTrace": "恢复工具搜索追踪",
"resumeGraphToolTrace": "恢复 Graph 工具追踪",
"resumeTraceData": "恢复追踪数据",
"confirm": "确认",
"reject": "取消",
@@ -1670,7 +1665,7 @@
"matchedAgent": "命中 Agent",
"noAgentSelected": "未选择",
"userMessage": "用户消息",
"userMessagePlaceholder": "输入一段用户消息,调试当前 Skill 的路由、工具和回复。",
"userMessagePlaceholder": "输入一段用户消息,调试当前 Skill 在 Agent Loop 中的能力调用和回复。",
"debugSummary": "调试摘要",
"interrupted": "已中断",
"notInterrupted": "未中断",
@@ -1679,7 +1674,6 @@
"errorMessage": "错误信息",
"toolView": "工具视图",
"skillToolWhitelist": "技能工具白名单",
"exposedTools": "本轮实际暴露工具",
"invokedTools": "本轮实际调用工具",
"resumeDebug": "恢复调试",
"currentCheckpoint": "当前 Checkpoint",