feat(web): cluster

This commit is contained in:
zhaoying
2025-12-31 12:30:36 +08:00
parent 3560038894
commit 24d68de98c
7 changed files with 207 additions and 99 deletions

View File

@@ -725,6 +725,14 @@ export const en = {
quicklyForget: 'Quickly forget',
slowForgetting: 'Slow forgetting',
currentConfig: 'Current Config',
decay_constant: 'Decay Constant',
max_history_length: 'Max Access History Length',
forgetting_threshold: 'Forgetting Threshold',
min_days_since_access: 'Minimum Days Since Access',
enable_llm_summary: 'Enable LLM Summary Generation',
max_merge_batch_size: 'Max Merge Batch Size',
forgetting_interval_hours: 'Forgetting Interval Hours'
},
application: {
searchPlaceholder: 'Search for applications or clusters',
@@ -878,8 +886,6 @@ export const en = {
toolCalling: 'Tool Calling',
toolCallingDesc: 'The main control agent calls sub agents as tools',
toolCallingFeature: 'Centralized control, suitable for structured workflow',
handoffs: 'Handoffs',
handoffsDesc: 'Agents between dynamic transfer of control rights',
handoffsFeature: 'Decentralized control, suitable for complex conversation scenarios',
recommend: 'Recommend',
advanced: 'Advanced',
@@ -1000,6 +1006,21 @@ export const en = {
promptChatPlaceholder: 'Describe the prompt you need, e.g.: I need a customer service assistant',
promptChatEmpty: 'No conversation content available',
promptEmpty: 'Describe your use case on the left, and the orchestration preview will be displayed here.',
master: 'Supervisor Mode',
master_agent: 'Supervisor Mode',
master_agentDesc: 'Unified scheduling and management by the main Agent, with sub-Agents executing tasks assigned by the supervisor, suitable for scenarios requiring centralized control.',
handoffs: 'Collaboration Mode',
handoffsDesc: 'Multiple Agents collaborate equally, autonomously coordinating according to task requirements, suitable for complex scenarios requiring flexible interaction.',
masterConfig: 'Supervisor Configuration',
orchestrationMode: 'Task Assignment Strategy',
conditional: 'Intelligent Assignment',
sequential: 'Sequential Assignment',
parallel: 'Parallel Assignment',
aggregationStrategy: 'Result Aggregation Method',
merge: 'Complete Aggregation',
vote: 'Key Information Extraction',
priority: 'Structured Integration',
},
userMemory: {
userMemory: 'User Memory',
@@ -1355,15 +1376,15 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
last_health_check: 'Last Connection',
responseTime: 'Response Time',
status: {
available: '可用',
unconfigured: '未配置',
configured_disabled: '已配置未启用',
error: '链接异常'
available: 'Available',
unconfigured: 'Unconfigured',
configured_disabled: 'Configured but Disabled',
error: 'Connection Error'
},
available_desc: 'API 已配置并启用',
unconfigured_desc: '需要配置 API Key',
configured_disabled_desc: 'API 已配置但未启用',
error_desc: 'API 已配置但链接异常',
available_desc: 'API is configured and enabled',
unconfigured_desc: 'Need to configure API Key',
configured_disabled_desc: 'API is configured but not enabled',
error_desc: 'API is configured but connection error',
serviceEndpoint: 'Service Endpoint URL',
serviceEndpointPlaceholder: 'URL of the service endpoint',
@@ -1537,10 +1558,10 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
parallel: 'Parallel Execution',
'var-aggregator': 'Variable Aggregator',
externalInteraction: 'External Interaction',
http_request: 'HTTP Request',
"http-request": 'HTTP Request',
tools: 'Tools',
code_execution: 'Code Execution',
template_rendering: 'Template Rendering',
"jinja-render": 'Template Rendering',
cognitiveUpgrading: 'Cognitive Upgrading (Innovation)',
task_planning: 'Task Planning',
reasoning_control: 'Reasoning Control',

View File

@@ -511,7 +511,7 @@ export const zh = {
master: '主管模式',
master_agent: '主管模式',
masterDesc: '由主 Agent 统一调度和管理,子 Agent 按照主管分配的任务执行,适合需要集中控制的场景。',
master_agentDesc: '由主 Agent 统一调度和管理,子 Agent 按照主管分配的任务执行,适合需要集中控制的场景。',
handoffs: '协作模式',
handoffsDesc: '多个 Agent 平等协作,根据任务需求自主协调配合,适合需要灵活互动的复杂场景。',
masterConfig: '主管配置',
@@ -1091,6 +1091,14 @@ export const zh = {
quicklyForget: '快速遗忘',
slowForgetting: '缓慢遗忘',
currentConfig: '当前配置',
decay_constant: '衰减常数',
max_history_length: '访问历史最大长度',
forgetting_threshold: '遗忘阈值',
min_days_since_access: '最小未访问天数',
enable_llm_summary: '是否使用 LLM 生成摘要',
max_merge_batch_size: '单次最大融合节点对数',
forgetting_interval_hours: '遗忘周期间隔'
},
userMemory: {
userMemory: '用户记忆',
@@ -1651,10 +1659,10 @@ export const zh = {
parallel: '并行执行',
'var-aggregator': '变量聚合器',
externalInteraction: '外部交互',
http_request: 'HTTP请求',
"http-request": 'HTTP请求',
tools: '工具 (Tools)',
code_execution: '代码执行',
template_rendering: '模板渲染',
"jinja-render": '模板渲染',
cognitiveUpgrading: '认知升级(创新)',
task_planning: '任务规划',
reasoning_control: '推理控制',
@@ -1756,7 +1764,37 @@ export const zh = {
"gt": '>',
"ge": '>=',
else_desc: '用于定义当 if 条件不满足时应执行的逻辑。'
}
},
'http-request': {
auth: '鉴权',
authType: '鉴权类型',
apiKey: 'API Key',
basic: '基础',
bearer: 'Bearer',
custom: '自定义',
header: 'Header',
api_key: 'API Key',
timeouts: '超时设置',
"connect_timeout": '连接超时(秒)',
"read_timeout": '读取超时(秒)',
"write_timeout": '写入超时(秒)',
retry: '失败时重试',
error_handle: '异常处理',
verify_ssl: '验证 SSL 证书',
none: '无',
default: '默认值',
branch: '异常分支',
status_code: '状态码',
max_attempts: '最大重试次数',
retry_interval: '重试间隔',
},
'jinja-render': {
template: '代码',
mapping: '输入变量'
},
name: '键',
type: '类型',
value: '值',
},
clear: '清空',