vision-agent 0.2.89__py3-none-any.whl → 0.2.90__py3-none-any.whl

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.
@@ -184,7 +184,7 @@ def pick_plan(
184
184
  k = list(plans.keys())[0]
185
185
  log_progress(
186
186
  {
187
- "type": "logs",
187
+ "type": "log",
188
188
  "log_content": "Plans created",
189
189
  "status": "completed",
190
190
  "payload": plans[k],
@@ -194,7 +194,7 @@ def pick_plan(
194
194
 
195
195
  log_progress(
196
196
  {
197
- "type": "logs",
197
+ "type": "log",
198
198
  "log_content": "Generating code to pick best plan",
199
199
  "status": "started",
200
200
  }
@@ -212,7 +212,7 @@ def pick_plan(
212
212
  code = extract_code(model(prompt))
213
213
  log_progress(
214
214
  {
215
- "type": "logs",
215
+ "type": "log",
216
216
  "log_content": "Executing code to test plan",
217
217
  "code": code,
218
218
  "status": "running",
@@ -229,7 +229,7 @@ def pick_plan(
229
229
 
230
230
  log_progress(
231
231
  {
232
- "type": "logs",
232
+ "type": "log",
233
233
  "log_content": (
234
234
  "Code execution succeed"
235
235
  if tool_output.success
@@ -251,7 +251,7 @@ def pick_plan(
251
251
  )
252
252
  log_progress(
253
253
  {
254
- "type": "logs",
254
+ "type": "log",
255
255
  "log_content": "Retry running code",
256
256
  "code": code,
257
257
  "status": "running",
@@ -263,7 +263,7 @@ def pick_plan(
263
263
  )
264
264
  log_progress(
265
265
  {
266
- "type": "logs",
266
+ "type": "log",
267
267
  "log_content": (
268
268
  "Code execution succeed"
269
269
  if tool_output.success
@@ -318,7 +318,7 @@ def pick_plan(
318
318
 
319
319
  log_progress(
320
320
  {
321
- "type": "logs",
321
+ "type": "log",
322
322
  "log_content": "Picked best plan",
323
323
  "status": "complete",
324
324
  "payload": best_plans,
@@ -771,7 +771,7 @@ class VisionAgent(Agent):
771
771
 
772
772
  self.log_progress(
773
773
  {
774
- "type": "logs",
774
+ "type": "log",
775
775
  "log_content": "Creating plans",
776
776
  "status": "started",
777
777
  }
@@ -798,7 +798,7 @@ class VisionAgent(Agent):
798
798
  if test_multi_plan:
799
799
  self.log_progress(
800
800
  {
801
- "type": "logs",
801
+ "type": "log",
802
802
  "log_content": "Creating plans",
803
803
  "status": "completed",
804
804
  "payload": tool_lists,
@@ -847,8 +847,8 @@ class VisionAgent(Agent):
847
847
  {
848
848
  "type": "final_code",
849
849
  "status": "completed" if success else "failed",
850
- "code": DefaultImports.prepend_imports(code),
851
850
  "payload": {
851
+ "code": DefaultImports.prepend_imports(code),
852
852
  "test": test,
853
853
  "result": execution_result.to_json(),
854
854
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vision-agent
3
- Version: 0.2.89
3
+ Version: 0.2.90
4
4
  Summary: Toolset for Vision Agent
5
5
  Author: Landing AI
6
6
  Author-email: dev@landing.ai
@@ -1,7 +1,7 @@
1
1
  vision_agent/__init__.py,sha256=EAb4-f9iyuEYkBrX4ag1syM8Syx8118_t0R6_C34M9w,57
2
2
  vision_agent/agent/__init__.py,sha256=IUwfbPMcT8X_rnXMLmI8gJ4ltsHy_XSs9eLiKURJxeY,81
3
3
  vision_agent/agent/agent.py,sha256=ZK-5lOtd9-eD9aWcXssJpnOyvZuO7_5hAmnb-6sWVe8,569
4
- vision_agent/agent/vision_agent.py,sha256=5rDmzrAIZ5GZBLGqRG9vPyVjX6S9FfFNtE63T6tQdYs,31356
4
+ vision_agent/agent/vision_agent.py,sha256=y2bZ1vB4_rfvFF-FgHSnVi3tYD9aZ_g85Dd7HZZdVpk,31351
5
5
  vision_agent/agent/vision_agent_prompts.py,sha256=brBV-SmzyzTG5M9nfV3R5xdYT_BUYOKzxNFmTa2Sp-o,11049
6
6
  vision_agent/fonts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  vision_agent/fonts/default_font_ch_en.ttf,sha256=1YM0Z3XqLDjSNbF7ihQFSAIUdjF9m1rtHiNC_6QosTE,1594400
@@ -18,7 +18,7 @@ vision_agent/utils/image_utils.py,sha256=_cdiS5YrLzqkq_ZgFUO897m5M4_SCIThwUy4lOk
18
18
  vision_agent/utils/sim.py,sha256=1HTaiVaBiKeyXIy21IYGXlPw0TipOyw9FPOJDfyLI94,4409
19
19
  vision_agent/utils/type_defs.py,sha256=QeQRRIlklZMWzxROcCn5ELxP89nYdXGydy1rAiSpZZw,1384
20
20
  vision_agent/utils/video.py,sha256=rNmU9KEIkZB5-EztZNlUiKYN0mm_55A_2VGUM0QpqLA,8779
21
- vision_agent-0.2.89.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
22
- vision_agent-0.2.89.dist-info/METADATA,sha256=YOGxKj4cv6HekTFVnnzNWOU7EJ0eKaazLgWalYxGvUo,9477
23
- vision_agent-0.2.89.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
24
- vision_agent-0.2.89.dist-info/RECORD,,
21
+ vision_agent-0.2.90.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
22
+ vision_agent-0.2.90.dist-info/METADATA,sha256=IGFEwRmmrA9JLXtDpunUhiPa7s0bU1ccGGBVSEph4Ck,9477
23
+ vision_agent-0.2.90.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
24
+ vision_agent-0.2.90.dist-info/RECORD,,