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