Skip to content

Commit

Permalink
Release v0.1.68
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 29, 2024
1 parent c93bd23 commit 53be2ce
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 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.60"
version = "v0.1.68"
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.60",
"X-Fern-SDK-Version": "v0.1.68",
}
token = self._get_token()
if token is not None:
Expand Down
4 changes: 3 additions & 1 deletion src/superagent/types/app_models_request_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import typing

from ..core.datetime_utils import serialize_datetime
from .llm_provider import LlmProvider

try:
import pydantic.v1 as pydantic # type: ignore
Expand All @@ -16,7 +17,8 @@ class AppModelsRequestAgent(pydantic.BaseModel):
name: str
initial_message: typing.Optional[str] = pydantic.Field(alias="initialMessage")
prompt: typing.Optional[str]
llm_model: str = pydantic.Field(alias="llmModel")
llm_model: typing.Optional[str] = pydantic.Field(alias="llmModel")
llm_provider: typing.Optional[LlmProvider] = pydantic.Field(alias="llmProvider")
description: str
avatar: typing.Optional[str]

Expand Down
2 changes: 1 addition & 1 deletion src/superagent/types/prisma_models_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PrismaModelsAgent(pydantic.BaseModel):
created_at: dt.datetime = pydantic.Field(alias="createdAt")
updated_at: dt.datetime = pydantic.Field(alias="updatedAt")
llms: typing.Optional[typing.List[PrismaModelsAgentLlm]]
llm_model: LlmModel = pydantic.Field(alias="llmModel")
llm_model: typing.Optional[LlmModel] = pydantic.Field(alias="llmModel")
prompt: typing.Optional[str]
api_user_id: str = pydantic.Field(alias="apiUserId")
api_user: typing.Optional[PrismaModelsApiUser] = pydantic.Field(alias="apiUser")
Expand Down
2 changes: 1 addition & 1 deletion src/superagent/types/prisma_models_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PrismaModelsLlm(pydantic.BaseModel):
id: str
provider: LlmProvider
api_key: str = pydantic.Field(alias="apiKey")
options: typing.Optional[str]
options: typing.Optional[typing.Any]
agents: typing.Optional[typing.List[PrismaModelsAgentLlm]]
created_at: dt.datetime = pydantic.Field(alias="createdAt")
updated_at: dt.datetime = pydantic.Field(alias="updatedAt")
Expand Down
2 changes: 1 addition & 1 deletion src/superagent/types/prisma_models_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PrismaModelsTool(pydantic.BaseModel):
api_user_id: str = pydantic.Field(alias="apiUserId")
api_user: typing.Optional[PrismaModelsApiUser] = pydantic.Field(alias="apiUser")
tools: typing.Optional[typing.List[PrismaModelsAgentTool]]
tool_config: typing.Optional[str] = pydantic.Field(alias="toolConfig")
tool_config: typing.Optional[typing.Any] = pydantic.Field(alias="toolConfig")

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down
2 changes: 1 addition & 1 deletion src/superagent/types/prisma_models_vector_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PrismaModelsVectorDb(pydantic.BaseModel):

id: str
provider: VectorDbProvider
options: typing.Optional[str]
options: typing.Optional[typing.Any]
datasources: typing.Optional[typing.List[PrismaModelsDatasource]]
created_at: dt.datetime = pydantic.Field(alias="createdAt")
updated_at: dt.datetime = pydantic.Field(alias="updatedAt")
Expand Down

0 comments on commit 53be2ce

Please sign in to comment.