feat(agents): improve processor creation choice

This commit is contained in:
RockChinQ
2026-08-27 14:31:37 +08:00
parent 823feac7e0
commit 847bfc8df5
6 changed files with 558 additions and 31 deletions
+24
View File
@@ -711,6 +711,30 @@ const enUS = {
'Use a visual multi-stage flow to control message preprocessing, AI, postprocessing, extensions, and output. Message events only.',
allEvents: 'Supports all events',
messageEventsOnly: 'Message events only',
chooseType: 'Choose how it works',
chooseTypeDescription:
'Choose the processor model first. You can configure it further after creation.',
diagramHint: 'How it works',
agentDiagramTitle: 'Agent: decide and act',
agentDiagramDescription:
'An Agent can receive many platform events, use models and tools to understand the situation, and decide what to do next.',
pipelineDiagramTitle: 'Pipeline: follow a defined flow',
pipelineDiagramDescription:
'A Pipeline handles message events only and runs each step in the order you configure.',
pipelineDiagramFlow: 'Messages move through a fixed sequence',
diagramEvents: 'Platform events',
diagramMessages: 'Messages',
diagramMembers: 'Members',
diagramFeedback: 'Feedback',
diagramDecide: 'Understand and decide',
diagramModel: 'Use model',
diagramTools: 'Use tools',
diagramActions: 'Take action',
diagramMessage: 'Message',
diagramPreprocess: 'Prepare',
diagramAI: 'AI',
diagramPostprocess: 'Refine',
diagramOutput: 'Output',
basicInfo: 'Basic Information',
basicInfoDescription: 'Set the name, icon and description',
runnerSettings: 'Runner',
+24
View File
@@ -724,6 +724,30 @@ const jaJP = {
'ビジュアルな多段フローで、メッセージの前処理、AI、後処理、拡張、出力を制御します。メッセージイベントのみ処理できます。',
allEvents: 'すべてのイベントに対応',
messageEventsOnly: 'メッセージイベントのみ',
chooseType: '処理方法を選択',
chooseTypeDescription:
'最初にプロセッサーの動作方式を選びます。作成後に詳しく設定できます。',
diagramHint: '動作イメージ',
agentDiagramTitle: 'Agent:判断して行動',
agentDiagramDescription:
'Agent はさまざまなプラットフォームイベントを受け取り、モデルやツールを使って状況を理解し、次の行動を判断します。',
pipelineDiagramTitle: 'Pipeline:決めたフローで処理',
pipelineDiagramDescription:
'Pipeline はメッセージイベントのみを、設定した固定ステップの順番で処理します。',
pipelineDiagramFlow: 'メッセージを固定フローで順番に処理',
diagramEvents: 'イベント',
diagramMessages: 'メッセージ',
diagramMembers: 'メンバー',
diagramFeedback: 'フィードバック',
diagramDecide: '理解して判断',
diagramModel: 'モデル',
diagramTools: 'ツール',
diagramActions: 'アクション',
diagramMessage: 'メッセージ',
diagramPreprocess: '前処理',
diagramAI: 'AI',
diagramPostprocess: '後処理',
diagramOutput: '出力',
basicInfo: '基本情報',
basicInfoDescription: '名前、アイコン、説明を設定します',
runnerSettings: 'Runner',
+23
View File
@@ -680,6 +680,29 @@ const zhHans = {
'通过可视化多阶段流程控制消息的预处理、AI、后处理、扩展和输出;仅处理消息事件。',
allEvents: '支持全部事件',
messageEventsOnly: '仅支持消息事件',
chooseType: '选择处理方式',
chooseTypeDescription: '先选择处理器的工作方式,创建后可继续完善配置。',
diagramHint: '工作方式示意',
agentDiagramTitle: 'Agent:自主判断并行动',
agentDiagramDescription:
'Agent 可以接收多种平台事件,结合模型和工具理解当前情况,并自主决定下一步动作。',
pipelineDiagramTitle: 'Pipeline:按流程逐步处理',
pipelineDiagramDescription:
'Pipeline 只处理消息事件,并严格按照你编排的固定步骤依次执行。',
pipelineDiagramFlow: '消息沿固定流程依次处理',
diagramEvents: '平台事件',
diagramMessages: '消息',
diagramMembers: '群成员',
diagramFeedback: '反馈',
diagramDecide: '理解事件并决定下一步',
diagramModel: '调用模型',
diagramTools: '使用工具',
diagramActions: '执行动作',
diagramMessage: '收到消息',
diagramPreprocess: '预处理',
diagramAI: 'AI 处理',
diagramPostprocess: '后处理',
diagramOutput: '输出',
basicInfo: '基础信息',
basicInfoDescription: '设置名称、图标和描述',
runnerSettings: '运行器',