diff --git a/web/utils/model-config.ts b/web/utils/model-config.ts index 3b4772f03d..c4c87e4ffe 100644 --- a/web/utils/model-config.ts +++ b/web/utils/model-config.ts @@ -134,7 +134,7 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[ } as any) return } - if (item.type === 'number' || item.type === 'boolean') { + if (item.type === 'number' || item.type === 'checkbox') { userInputs.push({ [item.type]: { label: item.name,