Skip to content

Commit

Permalink
Release v0.1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 1, 2024
1 parent ffd0df5 commit ea2b719
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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.71"
version = "v0.1.72"
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.71",
"X-Fern-SDK-Version": "v0.1.72",
}
token = self._get_token()
if token is not None:
Expand Down
4 changes: 4 additions & 0 deletions src/superagent/types/llm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class LlmModel(str, enum.Enum):
GPT_3_5_TURBO_16_K_0613 = "GPT_3_5_TURBO_16K_0613"
GPT_3_5_TURBO_0613 = "GPT_3_5_TURBO_0613"
GPT_3_5_TURBO_1106 = "GPT_3_5_TURBO_1106"
GPT_3_5_TURBO_0125 = "GPT_3_5_TURBO_0125"
GPT_4_0613 = "GPT_4_0613"
GPT_4_32_K_0613 = "GPT_4_32K_0613"
GPT_4_1106_PREVIEW = "GPT_4_1106_PREVIEW"
Expand All @@ -26,6 +27,7 @@ def visit(
gpt_3_5_turbo_16_k_0613: typing.Callable[[], T_Result],
gpt_3_5_turbo_0613: typing.Callable[[], T_Result],
gpt_3_5_turbo_1106: typing.Callable[[], T_Result],
gpt_3_5_turbo_0125: typing.Callable[[], T_Result],
gpt_4_0613: typing.Callable[[], T_Result],
gpt_4_32_k_0613: typing.Callable[[], T_Result],
gpt_4_1106_preview: typing.Callable[[], T_Result],
Expand All @@ -39,6 +41,8 @@ def visit(
return gpt_3_5_turbo_0613()
if self is LlmModel.GPT_3_5_TURBO_1106:
return gpt_3_5_turbo_1106()
if self is LlmModel.GPT_3_5_TURBO_0125:
return gpt_3_5_turbo_0125()
if self is LlmModel.GPT_4_0613:
return gpt_4_0613()
if self is LlmModel.GPT_4_32_K_0613:
Expand Down

0 comments on commit ea2b719

Please sign in to comment.