mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 19:27:23 +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: '',
|
default: '',
|
||||||
},
|
},
|
||||||
} as any)
|
} as any)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
if (item.type === 'number') {
|
if (item.type === 'number') {
|
||||||
userInputs.push({
|
userInputs.push({
|
||||||
@ -124,5 +125,6 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[
|
|||||||
} as any)
|
} as any)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return userInputs
|
return userInputs
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user