From e818b39557e386a0dfe207bf5aa9f6e40a9c8ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Galego?= Date: Thu, 27 Feb 2025 00:54:58 +0000 Subject: [PATCH] Escaped curly braces Bug introduced with commit https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/5c0bc46c6322ea07efa31d95819d7da47462f981 --- scrapegraphai/nodes/generate_answer_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapegraphai/nodes/generate_answer_node.py b/scrapegraphai/nodes/generate_answer_node.py index d50b72db..1df3091e 100644 --- a/scrapegraphai/nodes/generate_answer_node.py +++ b/scrapegraphai/nodes/generate_answer_node.py @@ -155,7 +155,7 @@ def execute(self, state: dict) -> dict: format_instructions = ( "You must respond with a JSON object. Your response should be formatted as a valid JSON " "with a 'content' field containing your analysis. For example:\n" - '{"content": "your analysis here"}' + '{{"content": "your analysis here"}}' ) else: output_parser = None