aiqtoolkit-mem0ai 1.2.0a20250707__py3-none-any.whl → 1.2.0rc1__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.
Potentially problematic release.
This version of aiqtoolkit-mem0ai might be problematic. Click here for more details.
- aiq/plugins/mem0ai/memory.py +9 -1
- {aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/METADATA +2 -2
- aiqtoolkit_mem0ai-1.2.0rc1.dist-info/RECORD +10 -0
- aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/RECORD +0 -10
- {aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/WHEEL +0 -0
- {aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/entry_points.txt +0 -0
- {aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/top_level.txt +0 -0
aiq/plugins/mem0ai/memory.py
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
from aiq.builder.builder import Builder
|
|
17
17
|
from aiq.cli.register_workflow import register_memory
|
|
18
18
|
from aiq.data_models.memory import MemoryBaseConfig
|
|
19
|
+
from aiq.data_models.retry_mixin import RetryMixin
|
|
20
|
+
from aiq.utils.exception_handlers.automatic_retries import patch_with_retry
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
class Mem0MemoryClientConfig(MemoryBaseConfig, name="mem0_memory"):
|
|
23
|
+
class Mem0MemoryClientConfig(MemoryBaseConfig, RetryMixin, name="mem0_memory"):
|
|
22
24
|
host: str | None = None
|
|
23
25
|
organization: str | None = None
|
|
24
26
|
project: str | None = None
|
|
@@ -46,4 +48,10 @@ async def mem0_memory_client(config: Mem0MemoryClientConfig, builder: Builder):
|
|
|
46
48
|
|
|
47
49
|
memory_editor = Mem0Editor(mem0_client=mem0_client)
|
|
48
50
|
|
|
51
|
+
if isinstance(config, RetryMixin):
|
|
52
|
+
memory_editor = patch_with_retry(memory_editor,
|
|
53
|
+
retries=config.num_retries,
|
|
54
|
+
retry_codes=config.retry_on_status_codes,
|
|
55
|
+
retry_on_messages=config.retry_on_errors)
|
|
56
|
+
|
|
49
57
|
yield memory_editor
|
{aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/METADATA
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aiqtoolkit-mem0ai
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.0rc1
|
|
4
4
|
Summary: Subpackage for Mem0 memory integration in AIQtoolkit
|
|
5
5
|
Keywords: ai,agents,memory
|
|
6
6
|
Classifier: Programming Language :: Python
|
|
7
7
|
Requires-Python: <3.13,>=3.11
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: aiqtoolkit
|
|
9
|
+
Requires-Dist: aiqtoolkit~=1.2
|
|
10
10
|
Requires-Dist: mem0ai~=0.1.30
|
|
11
11
|
|
|
12
12
|
<!--
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
aiq/meta/pypi.md,sha256=RdZ_PgLpmvTtrYbcnpA1LEvDofF8PFRoxVqjUKr-M5Y,1088
|
|
2
|
+
aiq/plugins/mem0ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
aiq/plugins/mem0ai/mem0_editor.py,sha256=IGyUf_ACFK4VYPeLuHAK6-Q3t7Rr9UZaJB9Y4cggxow,3655
|
|
4
|
+
aiq/plugins/mem0ai/memory.py,sha256=vRf0rVZtUVeuZuN3qBtXALueSoso23ElD3J_yCtHnC8,2291
|
|
5
|
+
aiq/plugins/mem0ai/register.py,sha256=_ffKNKnMfkB2HzX4Nk_9EW0pwebg3GuzAE-iB-CoC3E,839
|
|
6
|
+
aiqtoolkit_mem0ai-1.2.0rc1.dist-info/METADATA,sha256=G1o3hbWCl2DI36BpLQIhfGtIE5h_YE5tkDKJo0dfP0s,1416
|
|
7
|
+
aiqtoolkit_mem0ai-1.2.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
aiqtoolkit_mem0ai-1.2.0rc1.dist-info/entry_points.txt,sha256=jnLDGbW6Xdx5jucbwBqkrDOTlAewgXZGk6cxqitGjvE,58
|
|
9
|
+
aiqtoolkit_mem0ai-1.2.0rc1.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
|
|
10
|
+
aiqtoolkit_mem0ai-1.2.0rc1.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
aiq/meta/pypi.md,sha256=RdZ_PgLpmvTtrYbcnpA1LEvDofF8PFRoxVqjUKr-M5Y,1088
|
|
2
|
-
aiq/plugins/mem0ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
aiq/plugins/mem0ai/mem0_editor.py,sha256=IGyUf_ACFK4VYPeLuHAK6-Q3t7Rr9UZaJB9Y4cggxow,3655
|
|
4
|
-
aiq/plugins/mem0ai/memory.py,sha256=zNAV-Ui-JyPc4Ij-Ldsx6ptxSRV6WIVOGhdJoYJ8-Yg,1821
|
|
5
|
-
aiq/plugins/mem0ai/register.py,sha256=_ffKNKnMfkB2HzX4Nk_9EW0pwebg3GuzAE-iB-CoC3E,839
|
|
6
|
-
aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/METADATA,sha256=oj2QpxA8t6-ouxbMswcNHiCslmued6PF7WzYKotHYRQ,1434
|
|
7
|
-
aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/entry_points.txt,sha256=jnLDGbW6Xdx5jucbwBqkrDOTlAewgXZGk6cxqitGjvE,58
|
|
9
|
-
aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
|
|
10
|
-
aiqtoolkit_mem0ai-1.2.0a20250707.dist-info/RECORD,,
|
|
File without changes
|
{aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{aiqtoolkit_mem0ai-1.2.0a20250707.dist-info → aiqtoolkit_mem0ai-1.2.0rc1.dist-info}/top_level.txt
RENAMED
|
File without changes
|