Skip to content

Commit

Permalink
fix visualization error
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 11, 2024
1 parent 8915061 commit 522ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def visualize_result(all_tool_results: List[Dict]) -> List[str]:
elif isinstance(tool_result["parameters"], list):
if (
len(tool_result["parameters"]) < 1
and "image" not in tool_result["parameters"][0]
or ("image" not in tool_result["parameters"][0])
):
continue

Expand Down

0 comments on commit 522ad1c

Please sign in to comment.