From 0539df7a54d85b9fcbd06c2f85d84ae5ad9a4a69 Mon Sep 17 00:00:00 2001 From: mohammadrezapourreza Date: Thu, 4 Apr 2024 13:55:45 -0400 Subject: [PATCH] Fixing the backticks of the observations --- dataherald/sql_generator/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataherald/sql_generator/__init__.py b/dataherald/sql_generator/__init__.py index 081df00c..8a73ec9c 100644 --- a/dataherald/sql_generator/__init__.py +++ b/dataherald/sql_generator/__init__.py @@ -173,7 +173,7 @@ def stream_agent_steps( # noqa: C901 queue.put(message.content + "\n") elif "steps" in chunk: for step in chunk["steps"]: - queue.put(f"**Observation:**\n `{step.observation}`\n") + queue.put(f"**Observation:**\n {step.observation}\n") elif "output" in chunk: queue.put(f'**Final Answer:**\n {chunk["output"]}') if "```sql" in chunk["output"]: