mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 09:36:40 +08:00
fix: chatbot bool
This commit is contained in:
parent
6614e97b53
commit
04d2b0775d
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user