fix: chatbot bool

This commit is contained in:
Joel 2025-08-04 11:14:33 +08:00
parent 6614e97b53
commit 04d2b0775d

View File

@ -134,7 +134,7 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[
} as any) } as any)
return return
} }
if (item.type === 'number' || item.type === 'boolean') { if (item.type === 'number' || item.type === 'checkbox') {
userInputs.push({ userInputs.push({
[item.type]: { [item.type]: {
label: item.name, label: item.name,