Skip to content

Commit 907aa8f

Browse files
authored
Merge pull request #935 from JGalego/bugfix/KeyError-shenanigan
bugfix: KeyError mishap
2 parents bdcdf97 + e818b39 commit 907aa8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/nodes/generate_answer_node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def execute(self, state: dict) -> dict:
155155
format_instructions = (
156156
"You must respond with a JSON object. Your response should be formatted as a valid JSON "
157157
"with a 'content' field containing your analysis. For example:\n"
158-
'{"content": "your analysis here"}'
158+
'{{"content": "your analysis here"}}'
159159
)
160160
else:
161161
output_parser = None

0 commit comments

Comments
 (0)