mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
feat: workflow continue on error (#11474)
This commit is contained in:
@ -102,6 +102,8 @@ const translation = {
|
||||
addParallelNode: 'Add Parallel Node',
|
||||
parallel: 'PARALLEL',
|
||||
branch: 'BRANCH',
|
||||
onFailure: 'On Failure',
|
||||
addFailureBranch: 'Add Fail Branch',
|
||||
},
|
||||
env: {
|
||||
envPanelTitle: 'Environment Variables',
|
||||
@ -302,6 +304,31 @@ const translation = {
|
||||
tip: 'Chat memory',
|
||||
builtIn: 'Built-in',
|
||||
},
|
||||
errorHandle: {
|
||||
title: 'Error Handling',
|
||||
tip: 'Exception handling strategy, triggered when a node encounters an exception.',
|
||||
none: {
|
||||
title: 'None',
|
||||
desc: 'The node will stop running if an exception occurs and is not handled',
|
||||
},
|
||||
defaultValue: {
|
||||
title: 'Default Value',
|
||||
desc: 'When an error occurs, specify a static output content.',
|
||||
tip: 'On error, will return below value.',
|
||||
inLog: 'Node exception, outputting according to default values.',
|
||||
output: 'Output Default Value',
|
||||
},
|
||||
failBranch: {
|
||||
title: 'Fail Branch',
|
||||
desc: 'When an error occurs, it will execute the exception branch',
|
||||
customize: 'Go to the canvas to customize the fail branch logic.',
|
||||
customizeTip: 'When the fail branch is activated, exceptions thrown by nodes will not terminate the process. Instead, it will automatically execute the predefined fail branch, allowing you to flexibly provide error messages, reports, fixes, or skip actions.',
|
||||
inLog: 'Node exception, will automatically execute the fail branch. The node output will return an error type and error message and pass them to downstream.',
|
||||
},
|
||||
partialSucceeded: {
|
||||
tip: 'There are {{num}} nodes in the process running abnormally, please go to tracing to check the logs.',
|
||||
},
|
||||
},
|
||||
},
|
||||
start: {
|
||||
required: 'required',
|
||||
|
||||
@ -101,6 +101,8 @@ const translation = {
|
||||
addParallelNode: '添加并行节点',
|
||||
parallel: '并行',
|
||||
branch: '分支',
|
||||
onFailure: '异常时',
|
||||
addFailureBranch: '添加异常分支',
|
||||
},
|
||||
env: {
|
||||
envPanelTitle: '环境变量',
|
||||
@ -301,6 +303,31 @@ const translation = {
|
||||
tip: '聊天记忆',
|
||||
builtIn: '内置',
|
||||
},
|
||||
errorHandle: {
|
||||
title: '异常处理',
|
||||
tip: '配置异常处理策略,当节点发生异常时触发。',
|
||||
none: {
|
||||
title: '无',
|
||||
desc: '当发生异常且未处理时,节点将停止运行',
|
||||
},
|
||||
defaultValue: {
|
||||
title: '默认值',
|
||||
desc: '当发生异常时,指定默认输出内容。',
|
||||
tip: '当发生异常时,将返回以下值。',
|
||||
inLog: '节点异常,根据默认值输出。',
|
||||
output: '输出默认值',
|
||||
},
|
||||
failBranch: {
|
||||
title: '异常分支',
|
||||
desc: '当发生异常时,将执行异常分支',
|
||||
customize: '在画布自定义失败分支逻辑。',
|
||||
customizeTip: '当节点发生异常时,将自动执行失败分支。失败分支允许您灵活地提供错误消息、报告、修复或跳过操作。',
|
||||
inLog: '节点异常,将自动执行失败分支。节点输出将返回错误类型和错误信息,并传递给下游。',
|
||||
},
|
||||
partialSucceeded: {
|
||||
tip: '流程中有 {{num}} 个节点运行异常,请前往追踪查看日志。',
|
||||
},
|
||||
},
|
||||
},
|
||||
start: {
|
||||
required: '必填',
|
||||
|
||||
Reference in New Issue
Block a user