fix: o1 model cannot run in simpleApp (#2873)

This commit is contained in:
Archer
2024-10-10 16:46:32 +08:00
committed by GitHub
parent 1dcd39bfbe
commit 887e1d53d6

View File

@@ -171,7 +171,7 @@ export function form2AppWorkflow(
debugLabel: i18nT('common:core.module.Dataset quote.label'),
description: '',
valueType: WorkflowIOValueTypeEnum.datasetQuote,
value: selectedDatasets ? [datasetNodeId, 'quoteQA'] : undefined
value: selectedDatasets?.length > 0 ? [datasetNodeId, 'quoteQA'] : undefined
},
{
key: NodeInputKeyEnum.aiChatVision,