Merge branch 'feat/llm-struct-output' of https://github.com/langgenius/dify into feat/llm-struct-output

This commit is contained in:
twwu 2025-03-26 16:51:36 +08:00
commit 66cc4c91a5

View File

@ -21,12 +21,15 @@ const ShowPanel: FC<Props> = ({
},
}
return (
<div>
<Field
name={'response'}
payload={schema.schema}
required
/>
<div className='relative left-[-7px]'>
{Object.keys(schema.schema.properties!).map(name => (
<Field
key={name}
name={name}
payload={schema.schema.properties![name]}
required={!!schema.schema.required?.includes(name)}
/>
))}
</div>
)
}