vision-agent 0.2.235__tar.gz → 0.2.236__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vision_agent-0.2.235 → vision_agent-0.2.236}/PKG-INFO +1 -1
- {vision_agent-0.2.235 → vision_agent-0.2.236}/pyproject.toml +1 -1
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder_prompts.py +1 -1
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder_prompts_v2.py +1 -1
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner_prompts_v2.py +1 -1
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner_v2.py +2 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/LICENSE +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/README.md +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/.sim_tools/df.csv +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/.sim_tools/embs.npy +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/README.md +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/agent.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/agent_utils.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/types.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder_v2.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner_prompts.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_prompts.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_prompts_v2.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_v2.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/clients/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/clients/http.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/clients/landing_public_api.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/anthropic_config.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/anthropic_openai_config.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/config.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/openai_config.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/fonts/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/fonts/default_font_ch_en.ttf +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/lmm/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/lmm/lmm.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/lmm/types.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/meta_tools.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/planner_tools.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/prompts.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/tool_utils.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/tools.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/tools/tools_types.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/__init__.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/exceptions.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/execute.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/image_utils.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/sim.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/type_defs.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/video.py +0 -0
- {vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/utils/video_tracking.py +0 -0
{vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder_prompts.py
RENAMED
@@ -230,7 +230,7 @@ This is the documentation for the functions you have access to. You may call any
|
|
230
230
|
|
231
231
|
|
232
232
|
FIX_BUG = """
|
233
|
-
**Role** As a coder, your job is to find the error in the code and fix it. You are running in a notebook setting
|
233
|
+
**Role** As a coder, your job is to find the error in the code and fix it. You are running in a notebook setting but do not run !pip install to install new packages.
|
234
234
|
|
235
235
|
**Documentation**:
|
236
236
|
This is the documentation for the functions you have access to. You may call any of these functions to help you complete the task. They are available through importing `from vision_agent.tools import *`.
|
{vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_coder_prompts_v2.py
RENAMED
@@ -77,7 +77,7 @@ This is the documentation for the functions you have access to. You may call any
|
|
77
77
|
|
78
78
|
|
79
79
|
FIX_BUG = """
|
80
|
-
**Role
|
80
|
+
**Role** As a coder, your job is to find the error in the code and fix it. You are running in a notebook setting but do not run !pip install to install new packages.
|
81
81
|
|
82
82
|
**Task**: A previous agent has written some code and some testing code according to a plan given to it. It has introduced a bug into it's code while trying to implement the plan. You are given the plan, code, test code and error. Your job is to fix the error in the code or test code.
|
83
83
|
|
{vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner_prompts_v2.py
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
PLAN = """
|
2
2
|
**Role**: You are an expert planning agent that can understand the user request and search for a plan to accomplish it.
|
3
3
|
|
4
|
-
**Task**: As a planning agent you are required to understand the user's request and search for a plan to accomplish it. Use Chain-of-Thought approach to break down the problem, create a plan, and then provide a response. Esnure your response is clear, concise, and helpful. You can use an interactive Pyton (Jupyter Notebok) environment,
|
4
|
+
**Task**: As a planning agent you are required to understand the user's request and search for a plan to accomplish it. Use Chain-of-Thought approach to break down the problem, create a plan, and then provide a response. Esnure your response is clear, concise, and helpful. You can use an interactive Pyton (Jupyter Notebok) environment but do not !pip install packages, execute code with <execute_python>, each execution is a new cell so old code and outputs are saved.
|
5
5
|
|
6
6
|
**Documentation**: this is the documentation for the functions you can use to accomplish the task:
|
7
7
|
{tool_desc}
|
@@ -21,6 +21,7 @@ from vision_agent.agent.agent_utils import (
|
|
21
21
|
extract_tag,
|
22
22
|
print_code,
|
23
23
|
print_table,
|
24
|
+
remove_installs_from_code,
|
24
25
|
)
|
25
26
|
from vision_agent.agent.types import AgentMessage, InteractionContext, PlanContext
|
26
27
|
from vision_agent.agent.vision_agent_planner_prompts_v2 import (
|
@@ -180,6 +181,7 @@ def run_critic(
|
|
180
181
|
|
181
182
|
|
182
183
|
def code_safeguards(code: str) -> str:
|
184
|
+
code = remove_installs_from_code(code)
|
183
185
|
if "get_tool_for_task" in code:
|
184
186
|
lines = code.split("\n")
|
185
187
|
new_lines = []
|
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
|
{vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/agent/vision_agent_planner_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
|
{vision_agent-0.2.235 → vision_agent-0.2.236}/vision_agent/configs/anthropic_openai_config.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
|
File without changes
|