Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiqunLu committed Sep 21, 2024
1 parent e8ac6e6 commit f994a77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@ def chat_with_code(
)
if self.verbosity >= 1:
_LOGGER.info(user_obs)
int_chat.append({"role": "observation", "content": user_obs})
orig_chat.append(
{
"role": "observation",
"content": user_obs,
"execution": user_result,
}
)
self.streaming_message(
{
"role": "observation",
Expand Down

0 comments on commit f994a77

Please sign in to comment.