From fba83016d67fd9ea97d9a49aea8b691185b31320 Mon Sep 17 00:00:00 2001 From: Yazhou Cao Date: Tue, 9 Apr 2024 15:03:00 -0700 Subject: [PATCH] Fix param name mismatch --- .gitignore | 4 +++- vision_agent/tools/tools.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4a5a9be5..910be57f 100644 --- a/.gitignore +++ b/.gitignore @@ -92,4 +92,6 @@ docs-build site # Local or WIP files -local/ \ No newline at end of file +local/ + +vision-agent-benchmark/ \ No newline at end of file diff --git a/vision_agent/tools/tools.py b/vision_agent/tools/tools.py index 74d56c0a..3aa9a1b1 100644 --- a/vision_agent/tools/tools.py +++ b/vision_agent/tools/tools.py @@ -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]",