fix: code lint
This commit is contained in:
parent
8b2cc54404
commit
6703a8e9be
@ -279,13 +279,14 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
||||
type='string'
|
||||
description={t(`${i18nPrefix}.outputVars.output`)}
|
||||
/>
|
||||
{model?.completion_params?.response_format === 'json_object' &&
|
||||
{['json_object', 'JSON'].includes(model?.completion_params?.response_format)
|
||||
&& (
|
||||
<VarItem
|
||||
name='json'
|
||||
type='object'
|
||||
name="json"
|
||||
type="object"
|
||||
description={t(`${i18nPrefix}.outputVars.json`)}
|
||||
/>
|
||||
}
|
||||
)}
|
||||
</>
|
||||
</OutputVars>
|
||||
{isShowSingleRun && (
|
||||
|
Loading…
Reference in New Issue
Block a user