Skip to content

Commit

Permalink
fix stream message for front end (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird authored Oct 14, 2024
1 parent 64eb8c0 commit 5e47240
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,8 @@ def chat_with_artifacts(
self.streaming_message(
{
"role": "assistant",
"content": json.dumps(
new_format_to_old_format(
add_step_descriptions(response)
)
"content": new_format_to_old_format(
add_step_descriptions(response)
),
"finished": finished and code_action is None,
}
Expand Down

0 comments on commit 5e47240

Please sign in to comment.