fix: chatbot bool

This commit is contained in:
Joel 2025-08-04 11:14:33 +08:00
parent 6614e97b53
commit 04d2b0775d
1 changed files with 1 additions and 1 deletions

View File

@ -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,