Skip to content

Commit

Permalink
fix: o1 model cannot run in simpleApp (#2873)
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Oct 12, 2024
1 parent c2ab648 commit 716abbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/app/src/web/core/app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 716abbb

Please sign in to comment.