mirror of
https://github.com/langgenius/dify.git
synced 2026-04-20 22:28:09 +08:00
Merge remote-tracking branch 'origin/main' into feat/trigger-saas
This commit is contained in:
commit
dfff9ec00a
@ -76,9 +76,11 @@ const RetryOnPanel = ({
|
|||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
type='number'
|
type='number'
|
||||||
wrapperClassName='w-[80px]'
|
wrapperClassName='w-[100px]'
|
||||||
value={retry_config?.max_retries || 3}
|
value={retry_config?.max_retries || 3}
|
||||||
onChange={e => handleMaxRetriesChange(e.target.value as any)}
|
onChange={e =>
|
||||||
|
handleMaxRetriesChange(Number.parseInt(e.currentTarget.value, 10) || 3)
|
||||||
|
}
|
||||||
min={1}
|
min={1}
|
||||||
max={10}
|
max={10}
|
||||||
unit={t('workflow.nodes.common.retry.times') || ''}
|
unit={t('workflow.nodes.common.retry.times') || ''}
|
||||||
@ -96,9 +98,11 @@ const RetryOnPanel = ({
|
|||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
type='number'
|
type='number'
|
||||||
wrapperClassName='w-[80px]'
|
wrapperClassName='w-[100px]'
|
||||||
value={retry_config?.retry_interval || 1000}
|
value={retry_config?.retry_interval || 1000}
|
||||||
onChange={e => handleRetryIntervalChange(e.target.value as any)}
|
onChange={e =>
|
||||||
|
handleRetryIntervalChange(Number.parseInt(e.currentTarget.value, 10) || 1000)
|
||||||
|
}
|
||||||
min={100}
|
min={100}
|
||||||
max={5000}
|
max={5000}
|
||||||
unit={t('workflow.nodes.common.retry.ms') || ''}
|
unit={t('workflow.nodes.common.retry.ms') || ''}
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const translation = {
|
|||||||
},
|
},
|
||||||
completionMode: {
|
completionMode: {
|
||||||
title: '文本生成型应用 API',
|
title: '文本生成型应用 API',
|
||||||
info: '可用于生成高质量文本的应用,例如生成文章、摘要、翻译等,通过调用 completion-messages 接口,发送用户输入得到生成文本结果。用于生成文本的模型参数和提示词模版取决于开发者在 Dify 提示词编排页的设置。',
|
info: '可用于生成高质量文本的应用,例如生成文章、摘要、翻译等,通过调用 completion-messages 接口,发送用户输入得到生成文本结果。用于生成文本的模型参数和提示词模板取决于开发者在 Dify 提示词编排页的设置。',
|
||||||
createCompletionApi: '创建文本补全消息',
|
createCompletionApi: '创建文本补全消息',
|
||||||
createCompletionApiTip: '创建文本补全消息,支持一问一答模式。',
|
createCompletionApiTip: '创建文本补全消息,支持一问一答模式。',
|
||||||
inputsTips: '(选填)以键值对方式提供用户输入字段,与提示词编排中的变量对应。Key 为变量名称,Value 是参数值。如果字段类型为 Select,传入的 Value 需为预设选项之一。',
|
inputsTips: '(选填)以键值对方式提供用户输入字段,与提示词编排中的变量对应。Key 为变量名称,Value 是参数值。如果字段类型为 Select,传入的 Value 需为预设选项之一。',
|
||||||
|
|||||||
@ -38,7 +38,7 @@ const translation = {
|
|||||||
newApp: {
|
newApp: {
|
||||||
learnMore: '了解更多',
|
learnMore: '了解更多',
|
||||||
startFromBlank: '创建空白应用',
|
startFromBlank: '创建空白应用',
|
||||||
startFromTemplate: '从应用模版创建',
|
startFromTemplate: '从应用模板创建',
|
||||||
foundResult: '{{count}} 个结果',
|
foundResult: '{{count}} 个结果',
|
||||||
foundResults: '{{count}} 个结果',
|
foundResults: '{{count}} 个结果',
|
||||||
noAppsFound: '未找到应用',
|
noAppsFound: '未找到应用',
|
||||||
@ -80,7 +80,7 @@ const translation = {
|
|||||||
Confirm: '确认',
|
Confirm: '确认',
|
||||||
import: '导入',
|
import: '导入',
|
||||||
nameNotEmpty: '名称不能为空',
|
nameNotEmpty: '名称不能为空',
|
||||||
appTemplateNotSelected: '请选择应用模版',
|
appTemplateNotSelected: '请选择应用模板',
|
||||||
appTypeRequired: '请选择应用类型',
|
appTypeRequired: '请选择应用类型',
|
||||||
appCreated: '应用已创建',
|
appCreated: '应用已创建',
|
||||||
caution: '注意',
|
caution: '注意',
|
||||||
@ -95,7 +95,7 @@ const translation = {
|
|||||||
},
|
},
|
||||||
newAppFromTemplate: {
|
newAppFromTemplate: {
|
||||||
byCategories: '分类',
|
byCategories: '分类',
|
||||||
searchAllTemplate: '搜索所有模版...',
|
searchAllTemplate: '搜索所有模板...',
|
||||||
sidebar: {
|
sidebar: {
|
||||||
Recommended: '推荐',
|
Recommended: '推荐',
|
||||||
Agent: 'Agent',
|
Agent: 'Agent',
|
||||||
|
|||||||
@ -65,7 +65,7 @@ const translation = {
|
|||||||
exampleOptions: {
|
exampleOptions: {
|
||||||
json: '天气 (JSON)',
|
json: '天气 (JSON)',
|
||||||
yaml: '宠物商店 (YAML)',
|
yaml: '宠物商店 (YAML)',
|
||||||
blankTemplate: '空白模版',
|
blankTemplate: '空白模板',
|
||||||
},
|
},
|
||||||
availableTools: {
|
availableTools: {
|
||||||
title: '可用工具',
|
title: '可用工具',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user