mirror of
https://github.com/langgenius/webapp-text-generator.git
synced 2026-07-01 20:05:07 -04:00
Fix userInput is missing type equal to 'file'.
This commit is contained in:
@@ -27,6 +27,9 @@ export const userInputsFormToPromptVariables = (useInputs: UserInputFormItem[] |
|
||||
if (item.number)
|
||||
return ['number', item.number]
|
||||
|
||||
if (item.file)
|
||||
return ['file', item.file]
|
||||
|
||||
return ['select', item.select]
|
||||
})()
|
||||
if (type === 'string' || type === 'paragraph') {
|
||||
|
||||
Reference in New Issue
Block a user