mirror of https://github.com/langgenius/dify.git
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