Skip to content

Commit e2c6a07

Browse files
🌿 Fern Regeneration -- January 21, 2025 (#642)
* SDK regeneration * Fixes --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Billy Trend <[email protected]>
1 parent 601f221 commit e2c6a07

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

poetry.lock

+1-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cohere"
33

44
[tool.poetry]
55
name = "cohere"
6-
version = "5.13.9"
6+
version = "5.13.10"
77
description = ""
88
readme = "README.md"
99
authors = []
@@ -39,7 +39,6 @@ python = "^3.9"
3939
fastavro = "^1.9.4"
4040
httpx = ">=0.21.2"
4141
httpx-sse = "0.4.0"
42-
parameterized = "^0.9.0"
4342
pydantic = ">= 1.9.2"
4443
pydantic-core = "^2.18.2"
4544
requests = "^2.0.0"
@@ -53,7 +52,6 @@ pytest = "^7.4.0"
5352
pytest-asyncio = "^0.23.5"
5453
python-dateutil = "^2.9.0"
5554
types-python-dateutil = "^2.9.0.20240316"
56-
parameterized = "^0.9.0"
5755
ruff = "^0.5.6"
5856

5957
[tool.pytest.ini_options]

src/cohere/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
2525
"X-Fern-Language": "Python",
2626
"X-Fern-SDK-Name": "cohere",
27-
"X-Fern-SDK-Version": "5.13.9",
27+
"X-Fern-SDK-Version": "5.13.10",
2828
}
2929
if self._client_name is not None:
3030
headers["X-Client-Name"] = self._client_name

src/cohere/types/tool_v2function.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file was auto-generated by Fern from our API Definition.
22

33
from ..core.unchecked_base_model import UncheckedBaseModel
4-
import typing
54
import pydantic
5+
import typing
66
from ..core.pydantic_utilities import IS_PYDANTIC_V2
77

88

@@ -11,7 +11,7 @@ class ToolV2Function(UncheckedBaseModel):
1111
The function to be executed.
1212
"""
1313

14-
name: typing.Optional[str] = pydantic.Field(default=None)
14+
name: str = pydantic.Field()
1515
"""
1616
The name of the function.
1717
"""
@@ -21,7 +21,7 @@ class ToolV2Function(UncheckedBaseModel):
2121
The description of the function.
2222
"""
2323

24-
parameters: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
24+
parameters: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field()
2525
"""
2626
The parameters of the function as a JSON schema.
2727
"""

0 commit comments

Comments
 (0)