mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
Bugfix/Handling empty strings when resolving variables (#3864)
Bugfix for how to handle empty strings when resolving variables
This commit is contained in:
@@ -249,7 +249,7 @@ const runPrediction = async (
|
||||
|
||||
for (const variable of inputVariables) {
|
||||
seen.push(variable)
|
||||
if (promptValues[variable]) {
|
||||
if (promptValues[variable] != null) {
|
||||
seen.pop()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user