add handleEscapeChar

This commit is contained in:
Henry
2023-07-25 00:32:50 +01:00
parent f74d81e14b
commit 2f10d46abc
7 changed files with 60 additions and 10 deletions
@@ -58,7 +58,7 @@ class ChatPromptTemplate_Prompts implements INode {
let promptValues: ICommonObject = {}
if (promptValuesStr) {
promptValues = JSON.parse(promptValuesStr.replace(/\s/g, ''))
promptValues = JSON.parse(promptValuesStr)
}
// @ts-ignore
prompt.promptValues = promptValues