mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-27 20:57:13 +00:00
feat(agent): add event debugging and streamline configuration
This commit is contained in:
@@ -730,6 +730,41 @@ const enUS = {
|
||||
runnerReady: 'Runner ready',
|
||||
runnerReadyDescription:
|
||||
'{{runner}} is registered and the plugin runtime is connected.',
|
||||
debugTab: 'Event Debug',
|
||||
debugTitle: 'Agent Event Debug',
|
||||
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',
|
||||
debugGroupMemberLeft: 'Group member left',
|
||||
debugFriendRequested: 'Friend request received',
|
||||
debugFeedbackReceived: 'Feedback received',
|
||||
debugCustomEvent: 'Custom event',
|
||||
debugCustomEventType: 'Custom event name',
|
||||
debugMessageInput: 'Conversation input',
|
||||
debugEventSummary: 'Event summary',
|
||||
debugInputPlaceholder: 'Enter what the Agent should handle',
|
||||
debugEventPayload: 'Event payload (JSON)',
|
||||
debugSupportedEvents: 'Agent supports',
|
||||
debugRun: 'Run test',
|
||||
debugRunning: 'Running',
|
||||
debugTranscript: 'Debug transcript',
|
||||
debugTranscriptDescription:
|
||||
'Inputs and Agent outputs from the current debug session.',
|
||||
debugEmptyTranscript:
|
||||
'Choose an event and run a test to see the result here.',
|
||||
debugAgentOutput: 'Agent output',
|
||||
debugTestInput: 'Test input',
|
||||
debugNoTextOutput: 'The run completed without textual output.',
|
||||
debugEventTypeRequired: 'Enter an event type',
|
||||
debugInputRequired: 'Enter a conversation input',
|
||||
debugInvalidPayload: 'The event payload must be a valid JSON object',
|
||||
debugRunFailed: 'Agent debug run failed',
|
||||
},
|
||||
plugins: {
|
||||
title: 'Extensions',
|
||||
|
||||
@@ -698,6 +698,38 @@ const zhHans = {
|
||||
noRunnerSelected: '尚未选择运行器',
|
||||
runnerReady: '运行器已就绪',
|
||||
runnerReadyDescription: '{{runner}} 已注册,插件运行时连接正常。',
|
||||
debugTab: '事件调试',
|
||||
debugTitle: 'Agent 事件调试',
|
||||
debugDescription: '用消息或平台事件直接运行当前 Agent,并查看真实输出。',
|
||||
debugResetSession: '重置会话',
|
||||
debugActualRun: '这是真实运行',
|
||||
debugActualRunDescription:
|
||||
'测试会调用当前运行器、模型与已授权工具,但不会把输出发送到真实聊天平台。',
|
||||
debugEventType: '事件类型',
|
||||
debugMessageReceived: '收到消息',
|
||||
debugGroupMemberJoined: '成员加入群组',
|
||||
debugGroupMemberLeft: '成员离开群组',
|
||||
debugFriendRequested: '收到好友请求',
|
||||
debugFeedbackReceived: '收到反馈',
|
||||
debugCustomEvent: '自定义事件',
|
||||
debugCustomEventType: '自定义事件名称',
|
||||
debugMessageInput: '对话内容',
|
||||
debugEventSummary: '事件说明',
|
||||
debugInputPlaceholder: '输入希望 Agent 处理的内容',
|
||||
debugEventPayload: '事件载荷(JSON)',
|
||||
debugSupportedEvents: 'Agent 支持',
|
||||
debugRun: '运行测试',
|
||||
debugRunning: '运行中',
|
||||
debugTranscript: '调试记录',
|
||||
debugTranscriptDescription: '当前调试会话中的输入与 Agent 输出。',
|
||||
debugEmptyTranscript: '选择事件并运行测试后,结果会显示在这里。',
|
||||
debugAgentOutput: 'Agent 输出',
|
||||
debugTestInput: '测试输入',
|
||||
debugNoTextOutput: '运行完成,但没有产生文本输出。',
|
||||
debugEventTypeRequired: '请输入事件类型',
|
||||
debugInputRequired: '请输入对话内容',
|
||||
debugInvalidPayload: '事件载荷必须是有效的 JSON 对象',
|
||||
debugRunFailed: 'Agent 调试运行失败',
|
||||
},
|
||||
plugins: {
|
||||
title: '插件扩展',
|
||||
|
||||
Reference in New Issue
Block a user