Merge branch 'FlowiseAI:main' into main

This commit is contained in:
Darien Kindlund
2024-01-08 16:07:07 -05:00
committed by GitHub
5 changed files with 37 additions and 17 deletions
@@ -65,7 +65,7 @@ class CustomFunction_Utilities implements INode {
inputVars =
typeof functionInputVariablesRaw === 'object' ? functionInputVariablesRaw : JSON.parse(functionInputVariablesRaw)
} catch (exception) {
throw new Error("Invalid JSON in the PromptTemplate's promptValues: " + exception)
throw new Error('Invalid JSON in the Custom Function Input Variables: ' + exception)
}
}