Skip to content

Commit

Permalink
Release v0.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Mar 1, 2024
1 parent 39b391e commit c99af11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "superagent-py"
version = "v0.2.12"
version = "v0.2.13"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/superagent/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "superagent-py",
"X-Fern-SDK-Version": "v0.2.12",
"X-Fern-SDK-Version": "v0.2.13",
}
token = self._get_token()
if token is not None:
Expand Down
4 changes: 2 additions & 2 deletions src/superagent/types/llm_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@


class LlmParams(pydantic.BaseModel):
max_tokens: int
temperature: float
max_tokens: typing.Optional[int]
temperature: typing.Optional[float]

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down

0 comments on commit c99af11

Please sign in to comment.