mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 17:56:08 +08:00
chore: some copywrite enchancemant and logic problem
This commit is contained in:
parent
d29b3292f0
commit
8ff6957bcd
@ -32,7 +32,7 @@ const Field: FC<Props> = ({
|
||||
<div>
|
||||
<div className={cn('flex pr-2')}>
|
||||
<TreeIndentLine depth={depth} />
|
||||
<div className='grow'>
|
||||
<div className='w-0 grow'>
|
||||
<div className='relative flex select-none'>
|
||||
{hasChildren && (
|
||||
<RiArrowDropDownLine
|
||||
|
@ -49,7 +49,7 @@ const StructureOutput: FC<Props> = ({
|
||||
<div className='system-xs-medium text-components-button-secondary-text'>{t('app.structOutput.configure')}</div>
|
||||
</Button>
|
||||
</div>
|
||||
{value?.schema ? (
|
||||
{(value?.schema && value.schema.properties && Object.keys(value.schema.properties).length > 0) ? (
|
||||
<ShowPanel
|
||||
payload={value}
|
||||
/>) : (
|
||||
|
@ -432,7 +432,7 @@ const translation = {
|
||||
regenerate: 'Regenerate',
|
||||
apply: 'Apply',
|
||||
doc: 'Learn more about structured output',
|
||||
resetDefaults: 'Reset Defaults',
|
||||
resetDefaults: 'Reset',
|
||||
required: 'required',
|
||||
addField: 'Add Field',
|
||||
addChildField: 'Add Child Field',
|
||||
|
@ -187,7 +187,7 @@ const translation = {
|
||||
LLMResponse: 'LLM 的响应',
|
||||
configure: '配置',
|
||||
notConfiguredTip: '结构化输出尚未配置',
|
||||
structured: '结构化',
|
||||
structured: '结构化输出',
|
||||
structuredTip: '结构化输出是一项功能,可确保模型始终生成符合您提供的 JSON 模式的响应',
|
||||
modelNotSupported: '模型不支持',
|
||||
modelNotSupportedTip: '当前模型不支持此功能,将自动降级为提示注入。',
|
||||
|
@ -433,7 +433,7 @@ const translation = {
|
||||
regenerate: '重新生成',
|
||||
apply: '应用',
|
||||
doc: '了解有关结构化输出的更多信息',
|
||||
resetDefaults: '恢复默认值',
|
||||
resetDefaults: '清空配置',
|
||||
required: '必填',
|
||||
addField: '添加字段',
|
||||
addChildField: '添加子字段',
|
||||
|
Loading…
x
Reference in New Issue
Block a user