[BUG] 1.7.2 Document Store: Double quotes are not escaped, flow crashes
OY-Linkin opened this issue · comments
OY-Linkin commented
Describe the bug
Double quotes in the data of a Document Store are not properly escaped, so using them in a chat flow it crashes with a JSON error.
To Reproduce
Steps to reproduce the behavior:
- Create a new Document Store with a Document Loader Plain Text: Name = "Michael"
- Link the Document Store Node in your chat flow and connect it to a variable in your system prompt
- Run the chat flow.
- See error: "SyntaxError: Expected ',' or '}' after property value in JSON"
Expected behavior
Flow should build and run normally.
Setup
- Installation: Locally
npx flowise start
- Flowise Version 1.7.2
- OS: macOS
- Browser Chrome
Additional context
Using the same string (Name:"Michael") in a plain text node works fine.