From 82713bf5931654a6a695e226a280f489f3ddbb10 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 00:57:18 +0000 Subject: [PATCH 1/3] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.25.5 --- .fern/replay.lock | 10 +++++ .fernignore | 5 ++- .gitattributes | 1 + reference.md | 8 ---- src/zep_cloud/__init__.py | 2 + src/zep_cloud/core/client_wrapper.py | 4 +- src/zep_cloud/graph/client.py | 10 ----- src/zep_cloud/graph/raw_client.py | 10 ----- src/zep_cloud/types/__init__.py | 2 + src/zep_cloud/types/add_node_item.py | 10 ----- src/zep_cloud/types/add_nodes_response.py | 8 ++-- src/zep_cloud/types/added_node.py | 54 +++++++++++++++++++++++ 12 files changed, 79 insertions(+), 45 deletions(-) create mode 100644 .fern/replay.lock create mode 100644 .gitattributes create mode 100644 src/zep_cloud/types/added_node.py diff --git a/.fern/replay.lock b/.fern/replay.lock new file mode 100644 index 00000000..bfdca136 --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,10 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: 36ef7a1c35b8b6f4614d1095dae12b8328832a89 + tree_hash: ff6c7f6dca046cfe71ff8d197ce03fd3f3cefccd + timestamp: 2026-07-28T00:57:16.468Z + cli_version: unknown + generator_versions: {} +current_generation: 36ef7a1c35b8b6f4614d1095dae12b8328832a89 +patches: [] diff --git a/.fernignore b/.fernignore index ba9cbe29..789c94d6 100644 --- a/.fernignore +++ b/.fernignore @@ -10,4 +10,7 @@ README.md .github Makefile .gitignore -LICENSE \ No newline at end of file +LICENSE +.fern/replay.lock +.fern/replay.yml +.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..74928d6a --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.fern/replay.lock linguist-generated=true diff --git a/reference.md b/reference.md index da5c671a..99a138bb 100644 --- a/reference.md +++ b/reference.md @@ -1666,14 +1666,6 @@ Nested objects and arrays are not allowed.
-**fact_uuid:** `typing.Optional[str]` — The uuid of the edge to add - -
-
- -
-
- **graph_id:** `typing.Optional[str]`
diff --git a/src/zep_cloud/__init__.py b/src/zep_cloud/__init__.py index 5ab7c53c..57aa7d2f 100644 --- a/src/zep_cloud/__init__.py +++ b/src/zep_cloud/__init__.py @@ -8,6 +8,7 @@ AddThreadMessagesRequest, AddThreadMessagesResponse, AddTripleResponse, + AddedNode, ApiError, ApidataBatchAddItemRole, ApidataBatchAddItemType, @@ -101,6 +102,7 @@ "AddThreadMessagesRequest", "AddThreadMessagesResponse", "AddTripleResponse", + "AddedNode", "ApiError", "ApidataBatchAddItemRole", "ApidataBatchAddItemType", diff --git a/src/zep_cloud/core/client_wrapper.py b/src/zep_cloud/core/client_wrapper.py index 72f22959..acb66ced 100644 --- a/src/zep_cloud/core/client_wrapper.py +++ b/src/zep_cloud/core/client_wrapper.py @@ -22,10 +22,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "zep-cloud/3.25.0", + "User-Agent": "zep-cloud/3.26.0", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "zep-cloud", - "X-Fern-SDK-Version": "3.25.0", + "X-Fern-SDK-Version": "3.26.0", **(self.get_custom_headers() or {}), } headers["Authorization"] = f"Api-Key {self.api_key}" diff --git a/src/zep_cloud/graph/client.py b/src/zep_cloud/graph/client.py index 2f6a5670..ec9543e8 100644 --- a/src/zep_cloud/graph/client.py +++ b/src/zep_cloud/graph/client.py @@ -430,7 +430,6 @@ def add_fact_triple( created_at: typing.Optional[str] = OMIT, edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, expired_at: typing.Optional[str] = OMIT, - fact_uuid: typing.Optional[str] = OMIT, graph_id: typing.Optional[str] = OMIT, invalid_at: typing.Optional[str] = OMIT, metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, @@ -469,9 +468,6 @@ def add_fact_triple( expired_at : typing.Optional[str] The time (if any) at which the edge expires - fact_uuid : typing.Optional[str] - The uuid of the edge to add - graph_id : typing.Optional[str] invalid_at : typing.Optional[str] @@ -552,7 +548,6 @@ def add_fact_triple( created_at=created_at, edge_attributes=edge_attributes, expired_at=expired_at, - fact_uuid=fact_uuid, graph_id=graph_id, invalid_at=invalid_at, metadata=metadata, @@ -1564,7 +1559,6 @@ async def add_fact_triple( created_at: typing.Optional[str] = OMIT, edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, expired_at: typing.Optional[str] = OMIT, - fact_uuid: typing.Optional[str] = OMIT, graph_id: typing.Optional[str] = OMIT, invalid_at: typing.Optional[str] = OMIT, metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, @@ -1603,9 +1597,6 @@ async def add_fact_triple( expired_at : typing.Optional[str] The time (if any) at which the edge expires - fact_uuid : typing.Optional[str] - The uuid of the edge to add - graph_id : typing.Optional[str] invalid_at : typing.Optional[str] @@ -1694,7 +1685,6 @@ async def main() -> None: created_at=created_at, edge_attributes=edge_attributes, expired_at=expired_at, - fact_uuid=fact_uuid, graph_id=graph_id, invalid_at=invalid_at, metadata=metadata, diff --git a/src/zep_cloud/graph/raw_client.py b/src/zep_cloud/graph/raw_client.py index a6e4f8a7..9056b305 100644 --- a/src/zep_cloud/graph/raw_client.py +++ b/src/zep_cloud/graph/raw_client.py @@ -723,7 +723,6 @@ def add_fact_triple( created_at: typing.Optional[str] = OMIT, edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, expired_at: typing.Optional[str] = OMIT, - fact_uuid: typing.Optional[str] = OMIT, graph_id: typing.Optional[str] = OMIT, invalid_at: typing.Optional[str] = OMIT, metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, @@ -762,9 +761,6 @@ def add_fact_triple( expired_at : typing.Optional[str] The time (if any) at which the edge expires - fact_uuid : typing.Optional[str] - The uuid of the edge to add - graph_id : typing.Optional[str] invalid_at : typing.Optional[str] @@ -836,7 +832,6 @@ def add_fact_triple( "expired_at": expired_at, "fact": fact, "fact_name": fact_name, - "fact_uuid": fact_uuid, "graph_id": graph_id, "invalid_at": invalid_at, "metadata": metadata, @@ -2532,7 +2527,6 @@ async def add_fact_triple( created_at: typing.Optional[str] = OMIT, edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, expired_at: typing.Optional[str] = OMIT, - fact_uuid: typing.Optional[str] = OMIT, graph_id: typing.Optional[str] = OMIT, invalid_at: typing.Optional[str] = OMIT, metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, @@ -2571,9 +2565,6 @@ async def add_fact_triple( expired_at : typing.Optional[str] The time (if any) at which the edge expires - fact_uuid : typing.Optional[str] - The uuid of the edge to add - graph_id : typing.Optional[str] invalid_at : typing.Optional[str] @@ -2645,7 +2636,6 @@ async def add_fact_triple( "expired_at": expired_at, "fact": fact, "fact_name": fact_name, - "fact_uuid": fact_uuid, "graph_id": graph_id, "invalid_at": invalid_at, "metadata": metadata, diff --git a/src/zep_cloud/types/__init__.py b/src/zep_cloud/types/__init__.py index 331188b4..4b786fd2 100644 --- a/src/zep_cloud/types/__init__.py +++ b/src/zep_cloud/types/__init__.py @@ -7,6 +7,7 @@ from .add_thread_messages_request import AddThreadMessagesRequest from .add_thread_messages_response import AddThreadMessagesResponse from .add_triple_response import AddTripleResponse +from .added_node import AddedNode from .api_error import ApiError from .apidata_batch_add_item_role import ApidataBatchAddItemRole from .apidata_batch_add_item_type import ApidataBatchAddItemType @@ -94,6 +95,7 @@ "AddThreadMessagesRequest", "AddThreadMessagesResponse", "AddTripleResponse", + "AddedNode", "ApiError", "ApidataBatchAddItemRole", "ApidataBatchAddItemType", diff --git a/src/zep_cloud/types/add_node_item.py b/src/zep_cloud/types/add_node_item.py index f2180352..c63ea100 100644 --- a/src/zep_cloud/types/add_node_item.py +++ b/src/zep_cloud/types/add_node_item.py @@ -3,9 +3,7 @@ import typing import pydantic -import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from ..core.serialization import FieldMetadata class AddNodeItem(UniversalBaseModel): @@ -42,14 +40,6 @@ class AddNodeItem(UniversalBaseModel): A regional summary of the node. """ - uuid_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="uuid")] = pydantic.Field(default=None) - """ - Optional caller-supplied node UUID. When it matches an existing node the - node is upserted; when well-formed but unknown the node is created with - this UUID; when absent the server assigns one. This is the node's only - identity/dedup key -- there is no name-based resolution. - """ - if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/zep_cloud/types/add_nodes_response.py b/src/zep_cloud/types/add_nodes_response.py index 0f946501..5cc6db7b 100644 --- a/src/zep_cloud/types/add_nodes_response.py +++ b/src/zep_cloud/types/add_nodes_response.py @@ -4,14 +4,14 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .add_node_item import AddNodeItem +from .added_node import AddedNode class AddNodesResponse(UniversalBaseModel): - nodes: typing.Optional[typing.List[AddNodeItem]] = pydantic.Field(default=None) + nodes: typing.Optional[typing.List[AddedNode]] = pydantic.Field(default=None) """ - The accepted nodes, each carrying its resolved (server-assigned or - caller-supplied) UUID, in request order. + The accepted nodes, each carrying the UUID Zep assigned to it, in request + order. """ task_id: typing.Optional[str] = pydantic.Field(default=None) diff --git a/src/zep_cloud/types/added_node.py b/src/zep_cloud/types/added_node.py new file mode 100644 index 00000000..096a05eb --- /dev/null +++ b/src/zep_cloud/types/added_node.py @@ -0,0 +1,54 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata + + +class AddedNode(UniversalBaseModel): + attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + """ + Additional attributes of the node. + """ + + created_at: typing.Optional[str] = pydantic.Field(default=None) + """ + The node creation time. + """ + + label: typing.Optional[str] = pydantic.Field(default=None) + """ + The node's entity type. + """ + + metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) + """ + Metadata attached to the node's shadow episode. + """ + + name: str = pydantic.Field() + """ + The name of the node. + """ + + summary: typing.Optional[str] = pydantic.Field(default=None) + """ + A regional summary of the node. + """ + + uuid_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="uuid")] = pydantic.Field(default=None) + """ + The node UUID, assigned by Zep. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow From 0d2a115ae310460fa9a83f4b6479d77ec328207a Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 00:57:19 +0000 Subject: [PATCH 2/3] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index bfdca136..cf542c6a 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6,5 +6,11 @@ generations: timestamp: 2026-07-28T00:57:16.468Z cli_version: unknown generator_versions: {} -current_generation: 36ef7a1c35b8b6f4614d1095dae12b8328832a89 + - commit_sha: 28b28aa66ad44ddebc2aaf238691fcb5fdf9df2c + tree_hash: 11f601230f9973271085d5e91577b5d018461ba7 + timestamp: 2026-07-28T00:57:16.746Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 4.25.5 +current_generation: 28b28aa66ad44ddebc2aaf238691fcb5fdf9df2c patches: [] From 4c6d39f7d63ae1ad8287e757bade687a1672af73 Mon Sep 17 00:00:00 2001 From: "zep-sdk-release-bot[bot]" Date: Tue, 28 Jul 2026 00:57:29 +0000 Subject: [PATCH 3/3] chore: bump SDK version to 3.26.0 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b87cb917..e88b9e7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "zep-cloud" -version = "3.25.0" +version = "3.26.0" [tool.poetry] name = "zep-cloud" -version = "3.25.0" +version = "3.26.0" description = "" readme = "README.md" authors = []