Skip to content

Commit

Permalink
Remove dead code (#152)
Browse files Browse the repository at this point in the history
* Remove dead code

* Fix lint
  • Loading branch information
humpydonkey authored Jun 22, 2024
1 parent 9267db1 commit d74f150
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vision_agent/tools/tool_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
from typing import Any, Dict

import requests
from requests import Session
from requests.adapters import HTTPAdapter
from urllib3.util.retry import Retry
Expand All @@ -28,10 +27,6 @@ def send_inference_request(
"apikey": _LND_API_KEY,
},
)
res = requests.post(
f"{_LND_API_URL}/model/{endpoint_name}",
json=payload,
)
res = session.post(url, json=payload)
if res.status_code != 200:
_LOGGER.error(f"Request failed: {res.status_code} {res.text}")
Expand Down

0 comments on commit d74f150

Please sign in to comment.