nvidia-nat-zep-cloud 1.4.0a20251226__py3-none-any.whl → 1.4.0a20260112__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 nvidia-nat-zep-cloud might be problematic. Click here for more details.
- nat/meta/pypi.md +1 -1
- nat/plugins/zep_cloud/memory.py +1 -1
- nat/plugins/zep_cloud/register.py +1 -1
- nat/plugins/zep_cloud/zep_editor.py +13 -7
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/METADATA +3 -3
- nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/RECORD +12 -0
- nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/RECORD +0 -12
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/WHEEL +0 -0
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/licenses/LICENSE.md +0 -0
- {nvidia_nat_zep_cloud-1.4.0a20251226.dist-info → nvidia_nat_zep_cloud-1.4.0a20260112.dist-info}/top_level.txt +0 -0
nat/meta/pypi.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
|
|
5
5
|
Licensed under the Apache License, Version 2.0 (the "License");
|
nat/plugins/zep_cloud/memory.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# SPDX-FileCopyrightText: Copyright (c) 2024-
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -18,9 +18,9 @@ from __future__ import annotations
|
|
|
18
18
|
import asyncio
|
|
19
19
|
import logging
|
|
20
20
|
|
|
21
|
-
from zep_cloud import ApiError
|
|
22
21
|
from zep_cloud import NotFoundError
|
|
23
22
|
from zep_cloud.client import AsyncZep
|
|
23
|
+
from zep_cloud.core.api_error import ApiError
|
|
24
24
|
from zep_cloud.types import Message
|
|
25
25
|
|
|
26
26
|
from nat.builder.context import Context
|
|
@@ -75,9 +75,11 @@ class ZepEditor(MemoryEditor):
|
|
|
75
75
|
|
|
76
76
|
logger.info("Created Zep user")
|
|
77
77
|
except ApiError as e:
|
|
78
|
-
# Check if user was created by another request (409 Conflict)
|
|
79
|
-
if e.
|
|
80
|
-
logger.
|
|
78
|
+
# Check if user was created by another request (409 Conflict or 400 with "already exists")
|
|
79
|
+
if e.status_code == 409:
|
|
80
|
+
logger.debug("Zep user already exists - 409, continuing")
|
|
81
|
+
elif e.status_code == 400 and "already exists" in str(e).lower():
|
|
82
|
+
logger.debug("Zep user already exists - 400, continuing")
|
|
81
83
|
else:
|
|
82
84
|
logger.error("Failed creating Zep user: %s", str(e)) # noqa: TRY400
|
|
83
85
|
raise
|
|
@@ -143,8 +145,12 @@ class ZepEditor(MemoryEditor):
|
|
|
143
145
|
logger.info("Created Zep thread (thread_id=%s)", thread_id)
|
|
144
146
|
created_threads.add(thread_id)
|
|
145
147
|
except ApiError as create_error:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
+
# Check for both 409 (Conflict) and 400 (Bad Request) with "already exists" message
|
|
149
|
+
if create_error.status_code == 409:
|
|
150
|
+
logger.debug("Zep thread already exists - 409 (thread_id=%s)", thread_id)
|
|
151
|
+
created_threads.add(thread_id)
|
|
152
|
+
elif create_error.status_code == 400 and "already exists" in str(create_error).lower():
|
|
153
|
+
logger.debug("Zep thread already exists - 400 (thread_id=%s)", thread_id)
|
|
148
154
|
created_threads.add(thread_id)
|
|
149
155
|
else:
|
|
150
156
|
logger.exception("Thread create failed (thread_id=%s)", thread_id)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-zep-cloud
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.0a20260112
|
|
4
4
|
Summary: Subpackage for Zep integration in NeMo Agent toolkit
|
|
5
5
|
Author: NVIDIA Corporation
|
|
6
6
|
Maintainer: NVIDIA Corporation
|
|
@@ -16,12 +16,12 @@ Requires-Python: <3.14,>=3.11
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE-3rd-party.txt
|
|
18
18
|
License-File: LICENSE.md
|
|
19
|
-
Requires-Dist: nvidia-nat==v1.4.
|
|
19
|
+
Requires-Dist: nvidia-nat==v1.4.0a20260112
|
|
20
20
|
Requires-Dist: zep-cloud~=3.0
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
<!--
|
|
24
|
-
SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
24
|
+
SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
25
25
|
SPDX-License-Identifier: Apache-2.0
|
|
26
26
|
|
|
27
27
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
nat/meta/pypi.md,sha256=WuxuJzfQ-RpTgv4e-E8-xuJLtCSDKzqqOkxKMFQptJA,1116
|
|
2
|
+
nat/plugins/zep_cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
nat/plugins/zep_cloud/memory.py,sha256=Vt87AaAv7Ggk_8rficw_oggJB1KTZNZSV0tA0AuehbE,2203
|
|
4
|
+
nat/plugins/zep_cloud/register.py,sha256=lHOmfpc9k9OhW6iqSP31s5dKh6Hr4RVBNcqcXzRhHBs,812
|
|
5
|
+
nat/plugins/zep_cloud/zep_editor.py,sha256=ZrU2OemlNlwMKJu2or-uVYBlqPRShUdev33gNe6ndck,12007
|
|
6
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
7
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
8
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/METADATA,sha256=tIFBSuCUQNIJL_1wqkRAWV0Flq3BzTFyeMnIT1YXzIo,1924
|
|
9
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/entry_points.txt,sha256=r7vO0ft8P0EBtuNO3cm0nYo4FScapvptPjHwtlfnvcA,64
|
|
11
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
12
|
+
nvidia_nat_zep_cloud-1.4.0a20260112.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
nat/meta/pypi.md,sha256=BMN_V2SVyWPMymcWAX8PypnNKJphAqckAbCEqGPaN6I,1111
|
|
2
|
-
nat/plugins/zep_cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
nat/plugins/zep_cloud/memory.py,sha256=WrRbHBn_bnHdDVa6hThKR5BPl0wSPOJfKXbbR_XOroM,2198
|
|
4
|
-
nat/plugins/zep_cloud/register.py,sha256=n5QJ6VHpLSV4j9WJEc7IgvWHbSyfy8KYeE9XKz4NZxo,807
|
|
5
|
-
nat/plugins/zep_cloud/zep_editor.py,sha256=LBXSjrvUASmm8yzdkQ_PLYrrA5VZ3xo8saHCTxkTQHg,11523
|
|
6
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
7
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
8
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/METADATA,sha256=mQbl7HzwPqp5jDBI5oknDmkfoOEk3XiIoF95Rv1xJ94,1919
|
|
9
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/entry_points.txt,sha256=r7vO0ft8P0EBtuNO3cm0nYo4FScapvptPjHwtlfnvcA,64
|
|
11
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
12
|
-
nvidia_nat_zep_cloud-1.4.0a20251226.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|