feat(web): workflow add code node

This commit is contained in:
zhaoying
2026-01-27 11:24:04 +08:00
parent 988a41f5e4
commit 3af183f6c3
17 changed files with 678 additions and 131 deletions

View File

@@ -866,7 +866,7 @@ export const en = {
minimumRetention: 'Minimum retention (λ_time)',
minimumRetentionDesc: 'Controls the minimum retention threshold of memory retention',
forgettingRate: 'Forgetting rate (λ_mem)',
forgettingRate: 'Forgetting rate (λ_mem)',
forgettingRateDesc: 'Control the speed of memory forgetting, the higher the value, the faster the forgetting',
offset: 'Offset (offset)',
offsetDesc: 'The offset of the minimum preservation degree',
@@ -934,7 +934,7 @@ export const en = {
number: 'Number',
checkbox: 'Checkbox',
apiVariable: 'API Variable',
displayName: 'Display Name',
maxLength: 'Max Length',
required: 'Required',
@@ -1765,7 +1765,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
externalInteraction: 'External Interaction',
"http-request": 'HTTP Request',
tool: 'Tools',
code_execution: 'Code Execution',
code: 'Code Execution',
"jinja-render": 'Template Rendering',
cognitiveUpgrading: 'Cognitive Upgrading (Innovation)',
'memory-read': 'Memory Retrieval',
@@ -1858,6 +1858,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
'array[number]': 'Array[Number]',
'array[boolean]': 'Array[Boolean]',
'array[object]': 'Array[Object]',
'object': 'Object',
addParams: 'Add Extract Variable',
promptPlaceholder: 'Write prompts here, type "{" to insert variables, type "insert" to insert',
},
@@ -1962,6 +1963,12 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
config_id: 'Memory Configuration',
search_switch: 'Search Mode',
},
'code': {
input_variables: 'Input Variables',
output_variables: 'Output Variables',
refreshTip: '同步函数签名至代码',
},
name: 'Key',
type: 'Type',
value: 'Value',

View File

@@ -1609,11 +1609,6 @@ export const zh = {
loadingEmpty: '内容正在加载中…',
loadingEmptyDesc: '您的内容正在火箭运输中!很快就会降落在您的屏幕上'
},
count: '计数: {{count}}',
increment: '增加',
decrement: '减少',
reset: '重置',
switchLanguage: '切换语言',
home: {
title: '首页',
@@ -1858,7 +1853,7 @@ export const zh = {
externalInteraction: '外部交互',
"http-request": 'HTTP请求',
tool: '工具 (Tool)',
code_execution: '代码执行',
code: '代码执行',
"jinja-render": '模板渲染',
cognitiveUpgrading: '认知升级(创新)',
'memory-read': '记忆提取',
@@ -1952,6 +1947,7 @@ export const zh = {
'array[number]': 'Array[Number]',
'array[boolean]': 'Array[Boolean]',
'array[object]': 'Array[Object]',
'object': 'Object',
addParams: '添加提取变量',
promptPlaceholder: '在此处编写提示,输入“{”插入变量输入“insert”插入',
},
@@ -2056,6 +2052,12 @@ export const zh = {
config_id: '记忆配置',
search_switch: '检索模式',
},
'code': {
input_variables: '输入变量',
output_variables: '输出变量',
refreshTip: '同步函数签名至代码',
},
name: '键',
type: '类型',
value: '值',