From e70a0d3f01e04ed934416debf15c6a4ae5d1bb87 Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Tue, 25 Aug 2026 11:58:54 +0800 Subject: [PATCH] fix(web): remove agent debug run notice --- .../app/home/agents/components/AgentDebugPanel.tsx | 11 +---------- web/src/i18n/locales/en-US.ts | 3 --- web/src/i18n/locales/zh-Hans.ts | 3 --- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/web/src/app/home/agents/components/AgentDebugPanel.tsx b/web/src/app/home/agents/components/AgentDebugPanel.tsx index 882eff404..efdf046e3 100644 --- a/web/src/app/home/agents/components/AgentDebugPanel.tsx +++ b/web/src/app/home/agents/components/AgentDebugPanel.tsx @@ -1,9 +1,8 @@ import { useMemo, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { toast } from 'sonner'; -import { AlertTriangle, LoaderCircle, Play, RotateCcw } from 'lucide-react'; +import { LoaderCircle, Play, RotateCcw } from 'lucide-react'; import { httpClient } from '@/app/infra/http/HttpClient'; -import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; @@ -233,14 +232,6 @@ export default function AgentDebugPanel({ /> )} - - - - {t('agents.debugActualRun')} - - {t('agents.debugActualRunDescription')} - -
diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts index 84c57d211..3c5d131d6 100644 --- a/web/src/i18n/locales/en-US.ts +++ b/web/src/i18n/locales/en-US.ts @@ -735,9 +735,6 @@ const enUS = { debugDescription: 'Run the current Agent with a message or platform event and inspect the real output.', debugResetSession: 'Reset session', - debugActualRun: 'This is a real run', - debugActualRunDescription: - 'The test calls the configured runner, models, and authorized tools, but does not deliver output to a real chat platform.', debugEventType: 'Event type', debugMessageReceived: 'Message received', debugGroupMemberJoined: 'Group member joined', diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index 5e4e560ba..06b9da0f7 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -702,9 +702,6 @@ const zhHans = { debugTitle: 'Agent 事件调试', debugDescription: '用消息或平台事件直接运行当前 Agent,并查看真实输出。', debugResetSession: '重置会话', - debugActualRun: '这是真实运行', - debugActualRunDescription: - '测试会调用当前运行器、模型与已授权工具,但不会把输出发送到真实聊天平台。', debugEventType: '事件类型', debugMessageReceived: '收到消息', debugGroupMemberJoined: '成员加入群组',