mirror of
https://github.com/langgenius/dify.git
synced 2026-04-04 05:59:59 +08:00
fix user-inputs generation
This commit is contained in:
parent
9f024835aa
commit
d5c79e0489
@ -87,6 +87,7 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[
|
||||
default: '',
|
||||
},
|
||||
} as any)
|
||||
return
|
||||
}
|
||||
if (item.type === 'number') {
|
||||
userInputs.push({
|
||||
@ -124,5 +125,6 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[
|
||||
} as any)
|
||||
}
|
||||
})
|
||||
|
||||
return userInputs
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user