Skip to content

Commit e47e143

Browse files
🌿 Fern Regeneration -- July 9, 2025 (#679)
* SDK regeneration * Update pyproject.toml * Fix --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: billytrend-cohere <[email protected]> Co-authored-by: Billy Trend <[email protected]>
1 parent 1a002c3 commit e47e143

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.fernignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ src/cohere/bedrock_client.py
1515
src/cohere/aws_client.py
1616
src/cohere/sagemaker_client.py
1717
src/cohere/client_v2.py
18-
mypy.ini
18+
mypy.ini
19+
src/cohere/aliases.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cohere"
33

44
[tool.poetry]
55
name = "cohere"
6-
version = "5.16.0"
6+
version = "5.16.1"
77
description = ""
88
readme = "README.md"
99
authors = []

src/cohere/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
)
249249
from . import connectors, datasets, embed_jobs, finetuning, models, v2
250250
from .aliases import (
251+
ChatResponse,
251252
ContentDeltaStreamedChatResponseV2,
252253
ContentEndStreamedChatResponseV2,
253254
ContentStartStreamedChatResponseV2,
@@ -340,6 +341,7 @@
340341
"ChatRequestCitationQuality",
341342
"ChatRequestPromptTruncation",
342343
"ChatRequestSafetyMode",
344+
"ChatResponse",
343345
"ChatSearchQueriesGenerationEvent",
344346
"ChatSearchQuery",
345347
"ChatSearchResult",

src/cohere/aliases.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
ToolCallEndV2ChatStreamResponse,
99
ToolCallStartV2ChatStreamResponse,
1010
V2ChatStreamResponse,
11+
V2ChatResponse
1112
)
1213

1314
# alias classes
@@ -20,4 +21,4 @@
2021
ToolCallStartStreamedChatResponseV2 = ToolCallStartV2ChatStreamResponse
2122
ToolCallDeltaStreamedChatResponseV2 = ToolCallDeltaV2ChatStreamResponse
2223
ToolCallEndStreamedChatResponseV2 = ToolCallEndV2ChatStreamResponse
23-
24+
ChatResponse = V2ChatResponse

src/cohere/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "cohere/5.16.0",
25+
"User-Agent": "cohere/5.16.1",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "cohere",
28-
"X-Fern-SDK-Version": "5.16.0",
28+
"X-Fern-SDK-Version": "5.16.1",
2929
}
3030
if self._client_name is not None:
3131
headers["X-Client-Name"] = self._client_name

0 commit comments

Comments
 (0)