mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-01 23:27:14 +00:00
refactor: consolidate bot event routing
This commit is contained in:
committed by
huanghuoguoguo
parent
662627142e
commit
7fb393b85b
@@ -317,7 +317,7 @@ const zhHant = {
|
||||
getBotConfigError: '取得機器人設定失敗:',
|
||||
saveSuccess: '儲存成功',
|
||||
saveError: '儲存失敗:',
|
||||
createSuccess: '建立成功 請啟用或修改綁定流程線',
|
||||
createSuccess: '建立成功,請設定事件路由',
|
||||
createError: '建立失敗:',
|
||||
deleteSuccess: '刪除成功',
|
||||
deleteError: '刪除失敗:',
|
||||
@@ -347,6 +347,9 @@ const zhHant = {
|
||||
basicInfoDescription: '設定機器人名稱和描述',
|
||||
routingConnection: '路由與連接',
|
||||
routingConnectionDescription: '綁定處理此機器人訊息的流程線',
|
||||
eventRouting: '事件路由',
|
||||
eventRoutingDescription:
|
||||
'選擇此機器人收到不同事件時交給哪個處理器。具體處理邏輯在 Agent 頁面編輯,Pipeline 僅支援訊息事件。',
|
||||
routingRules: '條件路由規則',
|
||||
routingRulesDescription:
|
||||
'按順序匹配,命中第一條規則後路由到對應流程線;都不匹配時使用上方預設流程線',
|
||||
@@ -452,13 +455,12 @@ const zhHant = {
|
||||
},
|
||||
agents: {
|
||||
title: 'Agent',
|
||||
description: '管理 Agent 編排與 Pipeline,並將它們綁定到機器人事件',
|
||||
create: '建立 Agent',
|
||||
editAgent: '編輯 Agent 編排',
|
||||
description: '建立可重用的處理器,並在機器人事件路由中使用',
|
||||
create: '建立處理器',
|
||||
editAgent: '編輯 Agent',
|
||||
selectFromSidebar: '從側邊欄選擇一個 Agent 或 Pipeline',
|
||||
agentOrchestration: 'Agent 編排',
|
||||
agentOrchestrationDescription:
|
||||
'面向平台事件的處理邏輯,可用於訊息、群成員、好友、回饋等事件。',
|
||||
agentType: 'Agent',
|
||||
agentTypeDescription: '透過執行器處理訊息、群成員、好友、回饋等平台事件。',
|
||||
pipelineType: 'Pipeline',
|
||||
kindBadgeAgent: 'Agent',
|
||||
kindBadgePipeline: '流水線',
|
||||
@@ -471,12 +473,13 @@ const zhHant = {
|
||||
basicInfo: '基本資訊',
|
||||
basicInfoDescription: '設定名稱、圖示、描述和啟用狀態',
|
||||
runnerSettings: '執行器',
|
||||
eventCapability: '事件能力',
|
||||
eventCapabilityDescription:
|
||||
'宣告此 Agent 編排可被綁定到哪些事件。每行一個事件模式,支援 * 與 namespace.*。',
|
||||
supportedEvents: '支援的事件',
|
||||
advanced: '進階',
|
||||
bindableEvents: '可綁定事件範圍',
|
||||
bindableEventsDescription:
|
||||
'限制此 Agent 可被機器人事件路由選擇的事件範圍。通常保持預設即可。',
|
||||
supportedEvents: '事件範圍',
|
||||
supportedEventsDescription:
|
||||
'例如 *、message.received、group.*。Pipeline 固定僅支援 message.*。',
|
||||
'每行一個事件模式,例如 *、message.received、group.*。Pipeline 固定僅支援 message.*。',
|
||||
enabled: '啟用 Agent',
|
||||
enabledDescription: '停用後,此 Agent 不應被事件路由選中。',
|
||||
nameRequired: '名稱不能為空',
|
||||
@@ -487,10 +490,10 @@ const zhHant = {
|
||||
saveError: '儲存失敗:',
|
||||
deleteSuccess: '刪除成功',
|
||||
deleteError: '刪除失敗:',
|
||||
deleteConfirmation: '你確定要刪除這個 Agent 編排嗎?',
|
||||
deleteConfirmation: '你確定要刪除這個 Agent 嗎?',
|
||||
dangerZone: '危險區域',
|
||||
dangerZoneDescription: '不可逆的操作',
|
||||
deleteAgentAction: '刪除此 Agent 編排',
|
||||
deleteAgentAction: '刪除此 Agent',
|
||||
deleteAgentHint: '刪除後,綁定到它的事件將無法繼續執行。',
|
||||
noRunnerMetadata: '目前沒有可用的 AgentRunner 中繼資料。',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user