vision-agent 0.2.100__tar.gz → 0.2.102__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vision_agent-0.2.100 → vision_agent-0.2.102}/PKG-INFO +1 -1
- {vision_agent-0.2.100 → vision_agent-0.2.102}/pyproject.toml +1 -1
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/vision_agent_coder.py +10 -1
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/tool_utils.py +3 -1
- {vision_agent-0.2.100 → vision_agent-0.2.102}/LICENSE +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/README.md +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/agent.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/agent_utils.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/vision_agent.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/vision_agent_coder_prompts.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/vision_agent_prompts.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/clients/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/clients/http.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/clients/landing_public_api.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/fonts/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/fonts/default_font_ch_en.ttf +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/lmm/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/lmm/lmm.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/lmm/types.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/meta_tools.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/meta_tools_types.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/prompts.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/tools/tools.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/__init__.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/exceptions.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/execute.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/image_utils.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/sim.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/type_defs.py +0 -0
- {vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/utils/video.py +0 -0
@@ -735,8 +735,17 @@ class VisionAgentCoder(Agent):
|
|
735
735
|
|
736
736
|
if self.verbosity >= 1:
|
737
737
|
for p in plans:
|
738
|
+
# tabulate will fail if the keys are not the same for all elements
|
739
|
+
p_fixed = [
|
740
|
+
{
|
741
|
+
"instructions": (
|
742
|
+
e["instructions"] if "instructions" in e else ""
|
743
|
+
)
|
744
|
+
}
|
745
|
+
for e in plans[p]
|
746
|
+
]
|
738
747
|
_LOGGER.info(
|
739
|
-
f"\n{tabulate(tabular_data=
|
748
|
+
f"\n{tabulate(tabular_data=p_fixed, headers='keys', tablefmt='mixed_grid', maxcolwidths=_MAX_TABULATE_COL_WIDTH)}"
|
740
749
|
)
|
741
750
|
|
742
751
|
tool_infos = retrieve_tools(
|
@@ -62,7 +62,9 @@ def send_inference_request(
|
|
62
62
|
traceback_raw=[],
|
63
63
|
)
|
64
64
|
_LOGGER.error(f"Request failed: {res.status_code} {res.text}")
|
65
|
-
raise RemoteToolCallFailed(
|
65
|
+
raise RemoteToolCallFailed(
|
66
|
+
payload["function_name"], res.status_code, res.text
|
67
|
+
)
|
66
68
|
|
67
69
|
resp = res.json()
|
68
70
|
tool_call_trace.response = resp
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vision_agent-0.2.100 → vision_agent-0.2.102}/vision_agent/agent/vision_agent_coder_prompts.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|