Skip to content

Commit 68ba2c9

Browse files
authored
Update tool_utils.py (#343)
1 parent 613c870 commit 68ba2c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vision_agent/tools/tool_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ def send_inference_request(
7272

7373
response = _call_post(url, payload, session, files, function_name, is_form)
7474

75-
# TODO: consider making the response schema the same between below two sources
76-
return response if "TOOL_ENDPOINT_AUTH" in os.environ else response["data"]
75+
return response["data"]
7776

7877

7978
def send_task_inference_request(

0 commit comments

Comments
 (0)