mirror of
https://github.com/langgenius/dify.git
synced 2026-03-05 07:37:07 +08:00
fix: chatbot bool
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user