deepagents 0.3.2__py3-none-any.whl → 0.3.3__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.
- deepagents/middleware/memory.py +10 -0
- {deepagents-0.3.2.dist-info → deepagents-0.3.3.dist-info}/METADATA +1 -1
- {deepagents-0.3.2.dist-info → deepagents-0.3.3.dist-info}/RECORD +5 -5
- {deepagents-0.3.2.dist-info → deepagents-0.3.3.dist-info}/WHEEL +0 -0
- {deepagents-0.3.2.dist-info → deepagents-0.3.3.dist-info}/top_level.txt +0 -0
deepagents/middleware/memory.py
CHANGED
|
@@ -216,6 +216,11 @@ class MemoryMiddleware(AgentMiddleware):
|
|
|
216
216
|
response = results[0]
|
|
217
217
|
|
|
218
218
|
if response.error is not None:
|
|
219
|
+
# For now, memory files are treated as optional. file_not_found is expected
|
|
220
|
+
# and we skip silently to allow graceful degradation.
|
|
221
|
+
if response.error == "file_not_found":
|
|
222
|
+
return None
|
|
223
|
+
# Other errors should be raised
|
|
219
224
|
raise ValueError(f"Failed to download {path}: {response.error}")
|
|
220
225
|
|
|
221
226
|
if response.content is not None:
|
|
@@ -244,6 +249,11 @@ class MemoryMiddleware(AgentMiddleware):
|
|
|
244
249
|
response = results[0]
|
|
245
250
|
|
|
246
251
|
if response.error is not None:
|
|
252
|
+
# For now, memory files are treated as optional. file_not_found is expected
|
|
253
|
+
# and we skip silently to allow graceful degradation.
|
|
254
|
+
if response.error == "file_not_found":
|
|
255
|
+
return None
|
|
256
|
+
# Other errors should be raised
|
|
247
257
|
raise ValueError(f"Failed to download {path}: {response.error}")
|
|
248
258
|
|
|
249
259
|
if response.content is not None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepagents
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: General purpose 'deep agent' with sub-agent spawning, todo list capabilities, and mock file system. Built on LangGraph.
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Homepage, https://docs.langchain.com/oss/python/deepagents/overview
|
|
@@ -10,11 +10,11 @@ deepagents/backends/store.py,sha256=0mmeTsim4J8bjcf62dljwNrDv4PavT2KHdGbaBzVzRE,
|
|
|
10
10
|
deepagents/backends/utils.py,sha256=Iyk2jW-gfoLvMnz-W_2FRCoJW_j3r1zoumU9iww-jd0,13973
|
|
11
11
|
deepagents/middleware/__init__.py,sha256=2smUxjwghA3Eml_wp0kd4dAY-rwLyW-XQPBE3dAoo50,467
|
|
12
12
|
deepagents/middleware/filesystem.py,sha256=8_W5XNDYMN37BQjbqMyUAVWYv2KmRP87xwwomQ37K1w,44568
|
|
13
|
-
deepagents/middleware/memory.py,sha256=
|
|
13
|
+
deepagents/middleware/memory.py,sha256=KWqs7Vr45CfLr7WjelxmvS5foOBCh0sNuKDTNR1QK98,12335
|
|
14
14
|
deepagents/middleware/patch_tool_calls.py,sha256=PdNhxPaQqwnFkhEAZEE2kEzadTNAOO3_iJRA30WqpGE,1981
|
|
15
15
|
deepagents/middleware/skills.py,sha256=EABvIq4ES_NHGFL9USUnlH1WwiZgnAacoOLz2kkkVkw,24043
|
|
16
16
|
deepagents/middleware/subagents.py,sha256=Gpky0NsQehZ-iyXIetczmu4CkBuxAnDQv6pZXIDHp8M,24427
|
|
17
|
-
deepagents-0.3.
|
|
18
|
-
deepagents-0.3.
|
|
19
|
-
deepagents-0.3.
|
|
20
|
-
deepagents-0.3.
|
|
17
|
+
deepagents-0.3.3.dist-info/METADATA,sha256=QbDOsWDus2ipLR315O7IkprcSHc25UFjmzscP8U8isE,18809
|
|
18
|
+
deepagents-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
deepagents-0.3.3.dist-info/top_level.txt,sha256=drAzchOzPNePwpb3_pbPuvLuayXkN7SNqeIKMBWJoAo,11
|
|
20
|
+
deepagents-0.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|