fix(processors): clarify processing modes and reorder choices

This commit is contained in:
RockChinQ
2026-09-13 00:18:36 +08:00
parent 1277c6da07
commit e913658e03
5 changed files with 16 additions and 16 deletions
@@ -90,18 +90,18 @@ export default function AgentCreateContent({
}
const typeOptions = [
{
kind: 'agent' as const,
icon: Bot,
title: t('agents.agentType'),
description: t('agents.agentTypeDescription'),
},
{
kind: 'pipeline' as const,
icon: Workflow,
title: t('agents.pipelineType'),
description: t('agents.pipelineTypeDescription'),
},
{
kind: 'agent' as const,
icon: Bot,
title: t('agents.agentType'),
description: t('agents.agentTypeDescription'),
},
{
kind: 'event_processor' as const,
icon: Puzzle,
+3 -3
View File
@@ -741,7 +741,7 @@ const enUS = {
create: 'Create plugin processor',
type: 'Plugin processor',
description:
'Handle events with code and processing logic provided by a plugin.',
'Handle specific, declared event types through logic programmed in a plugin.',
component: 'Plugin processor',
selectComponent: 'Select a plugin processor',
unavailable: 'Component unavailable',
@@ -806,14 +806,14 @@ const enUS = {
selectFromSidebar: 'Select a processor from the sidebar',
agentType: 'Agent',
agentTypeDescription:
'Use a runner to handle messages, group members, friends, feedback, and other platform events. Best for scenarios that need autonomous decisions, tool use, or non-message events.',
'Describe how to handle different events in natural language and let AI act, or connect an external Agent platform to process them.',
pipelineType: 'Pipeline',
kindBadgeAgent: 'Agent',
kindBadgePipeline: 'Pipeline',
groupByKind: 'Group by type',
groupByKindShort: 'Group',
pipelineTypeDescription:
'Follow a fixed flow: receive a message, call AI, and reply to the user, with configurable knowledge bases and plugins. Handles message events only, for tasks with clear steps and control over processing.',
'Handle message events only, with AI generating replies directly and practical features such as knowledge bases and plugins.',
allEvents: 'Supports all events',
messageEventsOnly: 'Message events only',
chooseType: 'Choose how it works',
+3 -3
View File
@@ -754,7 +754,7 @@ const jaJP = {
create: 'プラグインプロセッサーを作成',
type: 'プラグインプロセッサー',
description:
'プラグインが提供するコードと処理ロジックでイベントを処理します。',
'事前に宣言された特定のイベントを、プラグインに実装されたロジックに従って処理します。',
component: 'プラグインプロセッサー',
selectComponent: 'プラグインプロセッサーを選択',
unavailable: 'コンポーネントを利用できません',
@@ -846,14 +846,14 @@ const jaJP = {
selectFromSidebar: 'サイドバーからプロセッサーを選択',
agentType: 'Agent',
agentTypeDescription:
'Runner を使ってメッセージ、グループメンバー、友だち、フィードバックなどのプラットフォームイベントを処理します。自律的な判断、ツール利用、メッセージ以外のイベント対応が必要な場合に適しています。',
'さまざまなイベントの処理方法を自然言語で指定して AI に実行させるか、外部の Agent プラットフォームに接続して処理します。',
pipelineType: 'パイプライン',
kindBadgeAgent: 'Agent',
kindBadgePipeline: 'パイプライン',
groupByKind: 'タイプ別にグループ化',
groupByKindShort: 'グループ',
pipelineTypeDescription:
'メッセージ受信、AI呼び出し、ユーザーへの返信」の固定フローで動作し、ナレッジベースやプラグインを設定できます。メッセージイベントのみを処理し、手順が明確で処理の制御が必要な用途に適しています。',
'メッセージイベントのみを処理し、AI が直接返信を生成します。ナレッジベースやプラグインなどの便利な機能も利用できます。',
allEvents: 'すべてのイベントに対応',
messageEventsOnly: 'メッセージイベントのみ',
chooseType: '処理方法を選択',
+3 -3
View File
@@ -703,7 +703,7 @@ const zhHans = {
create: '创建插件处理器',
type: '插件处理器',
description: '由插件中的代码处理事件,处理逻辑由插件实现。',
description: '由插件代码处理预先声明的特定事件,按插件编写的逻辑执行。',
component: '插件处理器',
selectComponent: '选择插件处理器',
unavailable: '组件不可用',
@@ -768,14 +768,14 @@ const zhHans = {
selectFromSidebar: '从侧边栏选择一个处理器',
agentType: 'Agent',
agentTypeDescription:
'通过运行器处理消息、群成员、好友、反馈等平台事件。适合需要自主判断、调用工具或响应非消息事件的场景。',
'用自然语言描述多种事件的处理方式,让 AI 执行;也可接入外部 Agent 平台处理事件。',
pipelineType: '流水线',
kindBadgeAgent: 'Agent',
kindBadgePipeline: '流水线',
groupByKind: '按类型分组',
groupByKindShort: '分组',
pipelineTypeDescription:
'按“接收消息、调用 AI、回复用户”的固定流程运行,可配置知识库插件扩展。仅处理消息事件,适合步骤明确、需要控制处理过程的场景。',
'只处理消息事件,由 AI 直接生成回复,并提供知识库插件等实用功能。',
allEvents: '支持全部事件',
messageEventsOnly: '仅支持消息事件',
chooseType: '选择处理方式',
+1 -1
View File
@@ -89,7 +89,7 @@ test.describe('frontend CRUD smoke flows', () => {
await expect(
page.locator('[data-processor-kind="pipeline"]'),
).toContainText(
'流水线按“接收消息、调用 AI、回复用户”的固定流程运行,可配置知识库插件扩展。仅处理消息事件,适合步骤明确、需要控制处理过程的场景。',
'流水线只处理消息事件,由 AI 直接生成回复,并提供知识库插件等实用功能。',
);
});