mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
minor fix when promptValues is undefined
This commit is contained in:
@@ -116,7 +116,7 @@ const runPrediction = async (
|
|||||||
*/
|
*/
|
||||||
const promptValues = handleEscapeCharacters(promptValuesRaw, true)
|
const promptValues = handleEscapeCharacters(promptValuesRaw, true)
|
||||||
|
|
||||||
if (inputVariables.length > 0) {
|
if (promptValues && inputVariables.length > 0) {
|
||||||
let seen: string[] = []
|
let seen: string[] = []
|
||||||
|
|
||||||
for (const variable of inputVariables) {
|
for (const variable of inputVariables) {
|
||||||
|
|||||||
Reference in New Issue
Block a user