diff --git a/pyproject.toml b/pyproject.toml index 2afc8d9..521c751 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "credal" [tool.poetry] name = "credal" -version = "0.0.20" +version = "0.0.21" description = "" readme = "README.md" authors = [] diff --git a/src/credal/copilots/types/web_search_result.py b/src/credal/copilots/types/web_search_result.py index 94af9a3..2a4c82c 100644 --- a/src/credal/copilots/types/web_search_result.py +++ b/src/credal/copilots/types/web_search_result.py @@ -9,7 +9,7 @@ class WebSearchResult(UniversalBaseModel): title: str url: str - content: str + contents: str if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/credal/core/client_wrapper.py b/src/credal/core/client_wrapper.py index cd54214..cc141ac 100644 --- a/src/credal/core/client_wrapper.py +++ b/src/credal/core/client_wrapper.py @@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "credal", - "X-Fern-SDK-Version": "0.0.20", + "X-Fern-SDK-Version": "0.0.21", } headers["Authorization"] = f"Bearer {self._get_api_key()}" return headers