From 64ae38aa237e8781ad56ee23016715c4f16dd654 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:22:45 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 2 +- pyproject.toml | 2 +- src/cohere/core/client_wrapper.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 848b691f3..afd0ab86f 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -80,5 +80,5 @@ ] }, "originGitCommit": "7ffcb80a5edaf952524b88ad8960151e148ff39b", - "sdkVersion": "5.21.0" + "sdkVersion": "5.22.0" } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7c7461dae..7ae3b1517 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "cohere" -version = "5.21.0" +version = "5.22.0" description = "" readme = "README.md" authors = [] diff --git a/src/cohere/core/client_wrapper.py b/src/cohere/core/client_wrapper.py index fbd5e76dd..3ca07a75b 100644 --- a/src/cohere/core/client_wrapper.py +++ b/src/cohere/core/client_wrapper.py @@ -29,12 +29,12 @@ def get_headers(self) -> typing.Dict[str, str]: import platform headers: typing.Dict[str, str] = { - "User-Agent": "cohere/5.21.0", + "User-Agent": "cohere/5.22.0", "X-Fern-Language": "Python", "X-Fern-Runtime": f"python/{platform.python_version()}", "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", "X-Fern-SDK-Name": "cohere", - "X-Fern-SDK-Version": "5.21.0", + "X-Fern-SDK-Version": "5.22.0", **(self.get_custom_headers() or {}), } if self._client_name is not None: