Skip to content

Commit

Permalink
Fix param name mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
AsiaCao committed Apr 9, 2024
1 parent c5de3b8 commit fba8301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@ docs-build
site

# Local or WIP files
local/
local/

vision-agent-benchmark/
2 changes: 1 addition & 1 deletion vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class BboxArea(Tool):
name = "bbox_area_"
description = "'bbox_area_' returns the area of the bounding box in pixels normalized to 2 decimal places."
usage = {
"required_parameters": [{"name": "bbox", "type": "List[int]"}],
"required_parameters": [{"name": "bboxes", "type": "List[int]"}],
"examples": [
{
"scenario": "If you want to calculate the area of the bounding box [0.2, 0.21, 0.34, 0.42]",
Expand Down

0 comments on commit fba8301

Please sign in to comment.