From 04d2b0775dfe30f59acda84edfd2e9aa69176edb Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 4 Aug 2025 11:14:33 +0800 Subject: [PATCH] fix: chatbot bool --- web/utils/model-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,