Skip to content

Commit e0fed57

Browse files
SDK regeneration (#442)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 88134c1 commit e0fed57

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cohere"
3-
version = "5.1.4"
3+
version = "5.1.5"
44
description = ""
55
readme = "README.md"
66
authors = []

src/cohere/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2525
headers: typing.Dict[str, str] = {
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "cohere",
28-
"X-Fern-SDK-Version": "5.1.4",
28+
"X-Fern-SDK-Version": "5.1.5",
2929
}
3030
if self._client_name is not None:
3131
headers["X-Client-Name"] = self._client_name

src/cohere/types/chat_search_results_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ChatSearchResultsEvent(ChatStreamEvent):
2020
Conducted searches and the ids of documents retrieved from each of them.
2121
"""
2222

23-
documents: typing.List[ChatDocument] = pydantic.Field()
23+
documents: typing.Optional[typing.List[ChatDocument]] = pydantic.Field(default=None)
2424
"""
2525
Documents fetched from searches or provided by the user.
2626
"""

0 commit comments

Comments
 (0)