Bugfix/Handling empty strings when resolving variables (#3864)

Bugfix for how to handle empty strings when resolving variables
This commit is contained in:
supraface
2025-01-17 00:14:06 +09:00
committed by GitHub
parent c89be26024
commit 5c9f17814b
2 changed files with 3 additions and 3 deletions
@@ -249,7 +249,7 @@ const runPrediction = async (
for (const variable of inputVariables) {
seen.push(variable)
if (promptValues[variable]) {
if (promptValues[variable] != null) {
seen.pop()
}
}