Skip to content

Commit

Permalink
Fixing the backticks of the observations
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaPourreza committed Apr 4, 2024
1 parent b280204 commit 0539df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataherald/sql_generator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit 0539df7

Please sign in to comment.