Skip to content

Commit 522ad1c

Browse files
committed
fix visualization error
1 parent 8915061 commit 522ad1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vision_agent/agent/vision_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def visualize_result(all_tool_results: List[Dict]) -> List[str]:
363363
elif isinstance(tool_result["parameters"], list):
364364
if (
365365
len(tool_result["parameters"]) < 1
366-
and "image" not in tool_result["parameters"][0]
366+
or ("image" not in tool_result["parameters"][0])
367367
):
368368
continue
369369

0 commit comments

Comments
 (0)