Skip to content

Commit 72e18a8

Browse files
committed
Release v0.2.39
1 parent 2acd903 commit 72e18a8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "superagent-py"
3-
version = "v0.2.36"
3+
version = "v0.2.39"
44
description = ""
55
readme = "README.md"
66
authors = []

src/superagent/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "superagent-py",
19-
"X-Fern-SDK-Version": "v0.2.36",
19+
"X-Fern-SDK-Version": "v0.2.39",
2020
}
2121
token = self._get_token()
2222
if token is not None:

src/superagent/types/llm_model.py

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class LlmModel(str, enum.Enum):
2525
GPT_4_TURBO = "GPT_4_TURBO"
2626
GPT_4_TURBO_PREVIEW = "GPT_4_TURBO_PREVIEW"
2727
GPT_4_TURBO_2024_04_09 = "GPT_4_TURBO_2024_04_09"
28+
GPT_4_0 = "GPT_4_0"
2829
MISTRAL_7_B_INSTRUCT_V_01 = "MISTRAL_7B_INSTRUCT_V01"
2930
MIXTRAL_8_X_7_B_INSTRUCT_V_01 = "MIXTRAL_8X7B_INSTRUCT_V01"
3031

@@ -44,6 +45,7 @@ def visit(
4445
gpt_4_turbo: typing.Callable[[], T_Result],
4546
gpt_4_turbo_preview: typing.Callable[[], T_Result],
4647
gpt_4_turbo_2024_04_09: typing.Callable[[], T_Result],
48+
gpt_4_0: typing.Callable[[], T_Result],
4749
mistral_7_b_instruct_v_01: typing.Callable[[], T_Result],
4850
mixtral_8_x_7_b_instruct_v_01: typing.Callable[[], T_Result],
4951
) -> T_Result:
@@ -75,6 +77,8 @@ def visit(
7577
return gpt_4_turbo_preview()
7678
if self is LlmModel.GPT_4_TURBO_2024_04_09:
7779
return gpt_4_turbo_2024_04_09()
80+
if self is LlmModel.GPT_4_0:
81+
return gpt_4_0()
7882
if self is LlmModel.MISTRAL_7_B_INSTRUCT_V_01:
7983
return mistral_7_b_instruct_v_01()
8084
if self is LlmModel.MIXTRAL_8_X_7_B_INSTRUCT_V_01:

0 commit comments

Comments
 (0)