feat: Enhance AI Agent and Channel Management
- Updated labels in the AI Agents dashboard for clarity, changing "流程状态" to "Playbook 状态" and "未发布流程" to "未发布 Playbook". - Introduced AI Agent rollout percentage management in channel editing, allowing users to set and rollback rollout percentages. - Added new API endpoints for rolling back AI Agent rollout and fetching agent run metrics. - Implemented new UI components for displaying agent run details, including status, duration, and input/output tokens. - Enhanced type definitions for AdminChannel and AIAgent to include rollout percentages and runtime modes. - Updated navigation to include a section for agent runs. - Added new translations for agent run features in both English and Chinese.
This commit is contained in:
@@ -2288,6 +2288,37 @@
|
||||
"input": "Input",
|
||||
"output": "Output"
|
||||
},
|
||||
"agentRun": {
|
||||
"conversation": "Conversation",
|
||||
"agent": "Agent",
|
||||
"engine": "Engine",
|
||||
"status": "Status",
|
||||
"startedAt": "Started",
|
||||
"duration": "Duration",
|
||||
"tokens": "Input/Output Tokens",
|
||||
"error": "Error",
|
||||
"refresh": "Refresh",
|
||||
"query": "Query",
|
||||
"loading": "Loading agent runs",
|
||||
"empty": "No agent runs",
|
||||
"loadFailed": "Failed to load agent runs",
|
||||
"loadDetailFailed": "Failed to load agent run detail",
|
||||
"detailTitle": "Agent Run Detail",
|
||||
"detailDescription": "View the unified run audit",
|
||||
"loadingDetail": "Loading agent run detail",
|
||||
"close": "Close",
|
||||
"revision": "Revision",
|
||||
"trace": "Trace",
|
||||
"steps": "Steps",
|
||||
"emptySteps": "No steps recorded",
|
||||
"toolCalls": "Tool Calls",
|
||||
"emptyToolCalls": "No tool calls recorded",
|
||||
"input": "Input Preview",
|
||||
"output": "Output Preview",
|
||||
"arguments": "Arguments Preview",
|
||||
"result": "Result Preview",
|
||||
"notFound": "Agent run not found"
|
||||
},
|
||||
"nav": {
|
||||
"overview": "Overview",
|
||||
"receptionCenter": "Support Desk",
|
||||
@@ -2308,6 +2339,7 @@
|
||||
"aiAgents": "Agents",
|
||||
"aiWorkflows": "AI Workflows",
|
||||
"workflowRuns": "Workflow Audit",
|
||||
"agentRuns": "Agent Audit",
|
||||
"skillDefinition": "Skills",
|
||||
"mcp": "MCP tools",
|
||||
"system": "System",
|
||||
|
||||
@@ -2288,6 +2288,37 @@
|
||||
"input": "输入",
|
||||
"output": "输出"
|
||||
},
|
||||
"agentRun": {
|
||||
"conversation": "会话",
|
||||
"agent": "Agent",
|
||||
"engine": "运行引擎",
|
||||
"status": "状态",
|
||||
"startedAt": "开始时间",
|
||||
"duration": "耗时",
|
||||
"tokens": "输入/输出 Token",
|
||||
"error": "错误",
|
||||
"refresh": "刷新",
|
||||
"query": "查询",
|
||||
"loading": "加载 Agent 运行记录中",
|
||||
"empty": "暂无 Agent 运行记录",
|
||||
"loadFailed": "加载 Agent 运行记录失败",
|
||||
"loadDetailFailed": "加载 Agent 运行详情失败",
|
||||
"detailTitle": "Agent 运行详情",
|
||||
"detailDescription": "查看统一运行审计",
|
||||
"loadingDetail": "加载 Agent 运行详情中",
|
||||
"close": "关闭",
|
||||
"revision": "版本快照",
|
||||
"trace": "运行轨迹",
|
||||
"steps": "执行步骤",
|
||||
"emptySteps": "暂无步骤记录",
|
||||
"toolCalls": "工具调用",
|
||||
"emptyToolCalls": "暂无工具调用记录",
|
||||
"input": "输入摘要",
|
||||
"output": "输出摘要",
|
||||
"arguments": "参数摘要",
|
||||
"result": "结果摘要",
|
||||
"notFound": "未找到 Agent 运行记录"
|
||||
},
|
||||
"nav": {
|
||||
"overview": "总览",
|
||||
"receptionCenter": "接待中心",
|
||||
@@ -2308,6 +2339,7 @@
|
||||
"aiAgents": "Agent",
|
||||
"aiWorkflows": "AI流程",
|
||||
"workflowRuns": "流程审计",
|
||||
"agentRuns": "Agent 审计",
|
||||
"skillDefinition": "Skills",
|
||||
"mcp": "MCP tools",
|
||||
"system": "系统管理",
|
||||
|
||||
Reference in New Issue
Block a user