Skip to content

Commit

Permalink
Release 0.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 16, 2023
1 parent 68ebb7b commit 1e92dab
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 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.1.17"
version = "v0.1.18"
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.1.17",
"X-Fern-SDK-Version": "v0.1.18",
}
token = self._get_token()
if token is not None:
Expand Down
1 change: 1 addition & 0 deletions src/superagent/types/app_models_request_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
class AppModelsRequestAgent(pydantic.BaseModel):
is_active: typing.Optional[bool] = pydantic.Field(alias="isActive")
name: str
initial_message: typing.Optional[str] = pydantic.Field(alias="initialMessage")
prompt: typing.Optional[str]
llm_model: str = pydantic.Field(alias="llmModel")
description: str
Expand Down
2 changes: 1 addition & 1 deletion src/superagent/types/app_models_response_agent_invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class AppModelsResponseAgentInvoke(pydantic.BaseModel):
success: bool
data: typing.Dict[str, typing.Any]
data: typing.Optional[typing.Any]

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down
1 change: 1 addition & 0 deletions src/superagent/types/prisma_models_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PrismaModelsAgent(pydantic.BaseModel):
id: str
name: str
avatar: typing.Optional[str]
initial_message: typing.Optional[str] = pydantic.Field(alias="initialMessage")
description: str
is_active: bool = pydantic.Field(alias="isActive")
created_at: dt.datetime = pydantic.Field(alias="createdAt")
Expand Down

0 comments on commit 1e92dab

Please sign in to comment.