Skip to content

Commit

Permalink
fix: dict_values need to cast to list before json serialization (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiqunLu authored Jun 26, 2024
1 parent 031c211 commit 3e7b341
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 @@ -437,7 +437,7 @@ def retrieve_tools(
{
"type": "tools",
"status": "completed",
"payload": {v["description"]: v for v in tool_list}.values(),
"payload": list({v["description"]: v for v in tool_list}.values()),
}
)

Expand Down

0 comments on commit 3e7b341

Please sign in to comment.