vision-agent 0.2.207__py3-none-any.whl → 0.2.208__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vision_agent/tools/tool_utils.py +3 -5
- {vision_agent-0.2.207.dist-info → vision_agent-0.2.208.dist-info}/METADATA +1 -1
- {vision_agent-0.2.207.dist-info → vision_agent-0.2.208.dist-info}/RECORD +5 -5
- {vision_agent-0.2.207.dist-info → vision_agent-0.2.208.dist-info}/LICENSE +0 -0
- {vision_agent-0.2.207.dist-info → vision_agent-0.2.208.dist-info}/WHEEL +0 -0
vision_agent/tools/tool_utils.py
CHANGED
@@ -41,11 +41,6 @@ def send_inference_request(
|
|
41
41
|
metadata_payload: Optional[Dict[str, Any]] = None,
|
42
42
|
is_form: bool = False,
|
43
43
|
) -> Any:
|
44
|
-
# TODO: runtime_tag and function_name should be metadata_payload and not included
|
45
|
-
# in the service payload
|
46
|
-
if runtime_tag := os.environ.get("RUNTIME_TAG", ""):
|
47
|
-
payload["runtime_tag"] = runtime_tag
|
48
|
-
|
49
44
|
url = f"{_LND_API_URL_v2 if v2 else _LND_API_URL}/{endpoint_name}"
|
50
45
|
if "TOOL_ENDPOINT_URL" in os.environ:
|
51
46
|
url = os.environ["TOOL_ENDPOINT_URL"]
|
@@ -55,6 +50,9 @@ def send_inference_request(
|
|
55
50
|
headers["Authorization"] = os.environ["TOOL_ENDPOINT_AUTH"]
|
56
51
|
headers.pop("apikey")
|
57
52
|
|
53
|
+
if runtime_tag := os.environ.get("RUNTIME_TAG", ""):
|
54
|
+
headers["runtime_tag"] = runtime_tag
|
55
|
+
|
58
56
|
session = _create_requests_session(
|
59
57
|
url=url,
|
60
58
|
num_retry=3,
|
@@ -30,7 +30,7 @@ vision_agent/tools/__init__.py,sha256=R6Ua9j1ragY-omt1OLivCwwFY_x6-nn-Ic9vTTvzUs
|
|
30
30
|
vision_agent/tools/meta_tools.py,sha256=TPeS7QWnc_PmmU_ndiDT03dXbQ5yDSP33E7U8cSj7Ls,28660
|
31
31
|
vision_agent/tools/planner_tools.py,sha256=gzCCdruzAmVXSgEVRjFdc9qLhe8rlJ-O4Mi7NnI4LsA,13364
|
32
32
|
vision_agent/tools/prompts.py,sha256=V1z4YJLXZuUl_iZ5rY0M5hHc_2tmMEUKr0WocXKGt4E,1430
|
33
|
-
vision_agent/tools/tool_utils.py,sha256=
|
33
|
+
vision_agent/tools/tool_utils.py,sha256=6JkAZxQb0cBInl0D6Bfsi1saf9UYiMc0X1FKmkFwi9A,10144
|
34
34
|
vision_agent/tools/tools.py,sha256=bq5a7ZVgPDz7sxnwJ0VoZtXAUo7ACChCBXUjFE3iETI,87760
|
35
35
|
vision_agent/tools/tools_types.py,sha256=8hYf2OZhI58gvf65KGaeGkt4EQ56nwLFqIQDPHioOBc,2339
|
36
36
|
vision_agent/utils/__init__.py,sha256=7fMgbZiEwbNS0fBOS_hJI5PuEYBblw36zLi_UjUzvj4,244
|
@@ -40,7 +40,7 @@ vision_agent/utils/image_utils.py,sha256=rRWcxKggPXIRXIY_XT9rZt30ECDRq8zq7FDeXRD
|
|
40
40
|
vision_agent/utils/sim.py,sha256=NZc9QGD6BTY5O29NVbHH7oxDePL_QMnylT1lYcDUn1Y,7437
|
41
41
|
vision_agent/utils/type_defs.py,sha256=BE12s3JNQy36QvauXHjwyeffVh5enfcvd4vTzSwvEZI,1384
|
42
42
|
vision_agent/utils/video.py,sha256=tRcGp4vEnaDycigL1hBO9k0FBPtDH35fCQciVr9GqYI,6013
|
43
|
-
vision_agent-0.2.
|
44
|
-
vision_agent-0.2.
|
45
|
-
vision_agent-0.2.
|
46
|
-
vision_agent-0.2.
|
43
|
+
vision_agent-0.2.208.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
44
|
+
vision_agent-0.2.208.dist-info/METADATA,sha256=Wywlbe87PC6mJtg9MfGzDYZB-y-F84bYJ7yY55FCPjU,19026
|
45
|
+
vision_agent-0.2.208.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
46
|
+
vision_agent-0.2.208.dist-info/RECORD,,
|
File without changes
|
File without changes
|