fix: code lint

This commit is contained in:
刘江波 2025-03-18 21:09:49 +08:00
parent 8b2cc54404
commit 6703a8e9be

View File

@ -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 && (