Skip to content

Commit

Permalink
Release v0.1.71
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 1, 2024
1 parent 802640a commit ffd0df5
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.70"
version = "v0.1.71"
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.70",
"X-Fern-SDK-Version": "v0.1.71",
}
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 @@ -17,6 +17,7 @@ class LlmModel(str, enum.Enum):
GPT_4_0613 = "GPT_4_0613"
GPT_4_32_K_0613 = "GPT_4_32K_0613"
GPT_4_1106_PREVIEW = "GPT_4_1106_PREVIEW"
GPT_4_TURBO_PREVIEW = "GPT_4_TURBO_PREVIEW"
MISTRAL_7_B_INSTRUCT_V_01 = "MISTRAL_7B_INSTRUCT_V01"
MIXTRAL_8_X_7_B_INSTRUCT_V_01 = "MIXTRAL_8X7B_INSTRUCT_V01"

Expand All @@ -28,6 +29,7 @@ def visit(
gpt_4_0613: typing.Callable[[], T_Result],
gpt_4_32_k_0613: typing.Callable[[], T_Result],
gpt_4_1106_preview: typing.Callable[[], T_Result],
gpt_4_turbo_preview: typing.Callable[[], T_Result],
mistral_7_b_instruct_v_01: typing.Callable[[], T_Result],
mixtral_8_x_7_b_instruct_v_01: typing.Callable[[], T_Result],
) -> T_Result:
Expand All @@ -43,6 +45,8 @@ def visit(
return gpt_4_32_k_0613()
if self is LlmModel.GPT_4_1106_PREVIEW:
return gpt_4_1106_preview()
if self is LlmModel.GPT_4_TURBO_PREVIEW:
return gpt_4_turbo_preview()
if self is LlmModel.MISTRAL_7_B_INSTRUCT_V_01:
return mistral_7_b_instruct_v_01()
if self is LlmModel.MIXTRAL_8_X_7_B_INSTRUCT_V_01:
Expand Down

0 comments on commit ffd0df5

Please sign in to comment.