vision-agent 0.2.157__py3-none-any.whl → 0.2.158__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vision_agent/agent/vision_agent.py +3 -1
- {vision_agent-0.2.157.dist-info → vision_agent-0.2.158.dist-info}/METADATA +1 -1
- {vision_agent-0.2.157.dist-info → vision_agent-0.2.158.dist-info}/RECORD +5 -5
- {vision_agent-0.2.157.dist-info → vision_agent-0.2.158.dist-info}/LICENSE +0 -0
- {vision_agent-0.2.157.dist-info → vision_agent-0.2.158.dist-info}/WHEEL +0 -0
@@ -383,7 +383,7 @@ class VisionAgent(Agent):
|
|
383
383
|
obs_chat_elt: Message = {"role": "observation", "content": obs}
|
384
384
|
if media_obs and result.success:
|
385
385
|
obs_chat_elt["media"] = [
|
386
|
-
Path(
|
386
|
+
Path(self.local_artifacts_path).parent / media_ob
|
387
387
|
for media_ob in media_obs
|
388
388
|
]
|
389
389
|
|
@@ -407,6 +407,8 @@ class VisionAgent(Agent):
|
|
407
407
|
code_interpreter.download_file(
|
408
408
|
str(remote_artifacts_path.name), str(self.local_artifacts_path)
|
409
409
|
)
|
410
|
+
artifacts.load(self.local_artifacts_path)
|
411
|
+
artifacts.save()
|
410
412
|
return orig_chat, artifacts
|
411
413
|
|
412
414
|
def streaming_message(self, message: Dict[str, Any]) -> None:
|
@@ -2,7 +2,7 @@ vision_agent/__init__.py,sha256=EAb4-f9iyuEYkBrX4ag1syM8Syx8118_t0R6_C34M9w,57
|
|
2
2
|
vision_agent/agent/__init__.py,sha256=NF2LABqHixLvbsOIO-fe-VKZ7awvShLtcT0oQT4eWtI,235
|
3
3
|
vision_agent/agent/agent.py,sha256=2cjIOxEuSJrqbfPXYoV0qER5ihXsPFCoEFJa4jpqan0,597
|
4
4
|
vision_agent/agent/agent_utils.py,sha256=eIpLz2NunEqEsBBrECJaD34-2uY0bsFNnW-XKfqqohs,2518
|
5
|
-
vision_agent/agent/vision_agent.py,sha256=
|
5
|
+
vision_agent/agent/vision_agent.py,sha256=GAoTxGrWrJGk-4rC-e1BvjMzv0UuIVv45rGVW3kmLJk,18463
|
6
6
|
vision_agent/agent/vision_agent_coder.py,sha256=2ZoGikn2nakGDfs20XRshZjQUyvbw6l47UhExJAYkqI,38515
|
7
7
|
vision_agent/agent/vision_agent_coder_prompts.py,sha256=BmbTMhth4v1qLexuoSeyo47QQ0kPQvL1pLbCJHMsWDw,18910
|
8
8
|
vision_agent/agent/vision_agent_prompts.py,sha256=LZ9Bnx7ZFkqbNOMqwfdiWZU4niND9Z1ArcFHNSn_jzA,11187
|
@@ -27,7 +27,7 @@ vision_agent/utils/image_utils.py,sha256=rm9GfXvD4JrjnqKrP_f2gfq4SzmqYC0IdC1kKwd
|
|
27
27
|
vision_agent/utils/sim.py,sha256=ZuSS07TUXFGjipmiQoY8TKRmSes7XXCdtU9PI8PC1sw,5609
|
28
28
|
vision_agent/utils/type_defs.py,sha256=BE12s3JNQy36QvauXHjwyeffVh5enfcvd4vTzSwvEZI,1384
|
29
29
|
vision_agent/utils/video.py,sha256=xbMEoRk13l4fHeQlbvMQhLCn8RNndYmsDhUf01TUeR8,4781
|
30
|
-
vision_agent-0.2.
|
31
|
-
vision_agent-0.2.
|
32
|
-
vision_agent-0.2.
|
33
|
-
vision_agent-0.2.
|
30
|
+
vision_agent-0.2.158.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
31
|
+
vision_agent-0.2.158.dist-info/METADATA,sha256=VGAG_jcVVy8RRa_H6KuxCUIkrATVfyw_WBOceGhVgN4,17753
|
32
|
+
vision_agent-0.2.158.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
33
|
+
vision_agent-0.2.158.dist-info/RECORD,,
|
File without changes
|
File without changes
|