Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 Fern Regeneration -- January 21, 2025 #642

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cohere"

[tool.poetry]
name = "cohere"
version = "5.13.9"
version = "5.13.10"
description = ""
readme = "README.md"
authors = []
Expand Down Expand Up @@ -39,7 +39,6 @@ python = "^3.9"
fastavro = "^1.9.4"
httpx = ">=0.21.2"
httpx-sse = "0.4.0"
parameterized = "^0.9.0"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
requests = "^2.0.0"
Expand All @@ -53,7 +52,6 @@ pytest = "^7.4.0"
pytest-asyncio = "^0.23.5"
python-dateutil = "^2.9.0"
types-python-dateutil = "^2.9.0.20240316"
parameterized = "^0.9.0"
ruff = "^0.5.6"

[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion src/cohere/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "cohere",
"X-Fern-SDK-Version": "5.13.9",
"X-Fern-SDK-Version": "5.13.10",
}
if self._client_name is not None:
headers["X-Client-Name"] = self._client_name
Expand Down
6 changes: 3 additions & 3 deletions src/cohere/types/tool_v2function.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was auto-generated by Fern from our API Definition.

from ..core.unchecked_base_model import UncheckedBaseModel
import typing
import pydantic
import typing
from ..core.pydantic_utilities import IS_PYDANTIC_V2


Expand All @@ -11,7 +11,7 @@ class ToolV2Function(UncheckedBaseModel):
The function to be executed.
"""

name: typing.Optional[str] = pydantic.Field(default=None)
name: str = pydantic.Field()
"""
The name of the function.
"""
Expand All @@ -21,7 +21,7 @@ class ToolV2Function(UncheckedBaseModel):
The description of the function.
"""

parameters: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
parameters: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field()
"""
The parameters of the function as a JSON schema.
"""
Expand Down