mirror of
https://github.com/langgenius/dify.git
synced 2026-03-16 04:17:43 +08:00
fix user-inputs generation
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user