mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-26 12:17:14 +00:00
fix(web): remove agent debug run notice
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
import { useMemo, useRef, useState } from 'react';
|
import { useMemo, useRef, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { toast } from 'sonner';
|
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 { httpClient } from '@/app/infra/http/HttpClient';
|
||||||
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
|
|
||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { Input } from '@/components/ui/input';
|
import { Input } from '@/components/ui/input';
|
||||||
@@ -233,14 +232,6 @@ export default function AgentDebugPanel({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Alert className="py-2">
|
|
||||||
<AlertTriangle />
|
|
||||||
<AlertTitle>{t('agents.debugActualRun')}</AlertTitle>
|
|
||||||
<AlertDescription className="text-xs">
|
|
||||||
{t('agents.debugActualRunDescription')}
|
|
||||||
</AlertDescription>
|
|
||||||
</Alert>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="min-h-0 flex-1 overflow-y-auto p-3">
|
<div className="min-h-0 flex-1 overflow-y-auto p-3">
|
||||||
|
|||||||
@@ -735,9 +735,6 @@ const enUS = {
|
|||||||
debugDescription:
|
debugDescription:
|
||||||
'Run the current Agent with a message or platform event and inspect the real output.',
|
'Run the current Agent with a message or platform event and inspect the real output.',
|
||||||
debugResetSession: 'Reset session',
|
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',
|
debugEventType: 'Event type',
|
||||||
debugMessageReceived: 'Message received',
|
debugMessageReceived: 'Message received',
|
||||||
debugGroupMemberJoined: 'Group member joined',
|
debugGroupMemberJoined: 'Group member joined',
|
||||||
|
|||||||
@@ -702,9 +702,6 @@ const zhHans = {
|
|||||||
debugTitle: 'Agent 事件调试',
|
debugTitle: 'Agent 事件调试',
|
||||||
debugDescription: '用消息或平台事件直接运行当前 Agent,并查看真实输出。',
|
debugDescription: '用消息或平台事件直接运行当前 Agent,并查看真实输出。',
|
||||||
debugResetSession: '重置会话',
|
debugResetSession: '重置会话',
|
||||||
debugActualRun: '这是真实运行',
|
|
||||||
debugActualRunDescription:
|
|
||||||
'测试会调用当前运行器、模型与已授权工具,但不会把输出发送到真实聊天平台。',
|
|
||||||
debugEventType: '事件类型',
|
debugEventType: '事件类型',
|
||||||
debugMessageReceived: '收到消息',
|
debugMessageReceived: '收到消息',
|
||||||
debugGroupMemberJoined: '成员加入群组',
|
debugGroupMemberJoined: '成员加入群组',
|
||||||
|
|||||||
Reference in New Issue
Block a user