Skip to content

Commit 39a8a37

Browse files
committed
fix(types): add gpt-4o-mini to more assistants methods
1 parent 4c6a5ed commit 39a8a37

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: src/openai/resources/beta/threads/threads.py

+16
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,8 @@ def create_and_run_poll(
814814
Literal[
815815
"gpt-4o",
816816
"gpt-4o-2024-05-13",
817+
"gpt-4o-mini",
818+
"gpt-4o-mini-2024-07-18",
817819
"gpt-4-turbo",
818820
"gpt-4-turbo-2024-04-09",
819821
"gpt-4-0125-preview",
@@ -896,6 +898,8 @@ def create_and_run_stream(
896898
Literal[
897899
"gpt-4o",
898900
"gpt-4o-2024-05-13",
901+
"gpt-4o-mini",
902+
"gpt-4o-mini-2024-07-18",
899903
"gpt-4-turbo",
900904
"gpt-4-turbo-2024-04-09",
901905
"gpt-4-0125-preview",
@@ -951,6 +955,8 @@ def create_and_run_stream(
951955
Literal[
952956
"gpt-4o",
953957
"gpt-4o-2024-05-13",
958+
"gpt-4o-mini",
959+
"gpt-4o-mini-2024-07-18",
954960
"gpt-4-turbo",
955961
"gpt-4-turbo-2024-04-09",
956962
"gpt-4-0125-preview",
@@ -1006,6 +1012,8 @@ def create_and_run_stream(
10061012
Literal[
10071013
"gpt-4o",
10081014
"gpt-4o-2024-05-13",
1015+
"gpt-4o-mini",
1016+
"gpt-4o-mini-2024-07-18",
10091017
"gpt-4-turbo",
10101018
"gpt-4-turbo-2024-04-09",
10111019
"gpt-4-0125-preview",
@@ -1838,6 +1846,8 @@ async def create_and_run_poll(
18381846
Literal[
18391847
"gpt-4o",
18401848
"gpt-4o-2024-05-13",
1849+
"gpt-4o-mini",
1850+
"gpt-4o-mini-2024-07-18",
18411851
"gpt-4-turbo",
18421852
"gpt-4-turbo-2024-04-09",
18431853
"gpt-4-0125-preview",
@@ -1922,6 +1932,8 @@ def create_and_run_stream(
19221932
Literal[
19231933
"gpt-4o",
19241934
"gpt-4o-2024-05-13",
1935+
"gpt-4o-mini",
1936+
"gpt-4o-mini-2024-07-18",
19251937
"gpt-4-turbo",
19261938
"gpt-4-turbo-2024-04-09",
19271939
"gpt-4-0125-preview",
@@ -1977,6 +1989,8 @@ def create_and_run_stream(
19771989
Literal[
19781990
"gpt-4o",
19791991
"gpt-4o-2024-05-13",
1992+
"gpt-4o-mini",
1993+
"gpt-4o-mini-2024-07-18",
19801994
"gpt-4-turbo",
19811995
"gpt-4-turbo-2024-04-09",
19821996
"gpt-4-0125-preview",
@@ -2032,6 +2046,8 @@ def create_and_run_stream(
20322046
Literal[
20332047
"gpt-4o",
20342048
"gpt-4o-2024-05-13",
2049+
"gpt-4o-mini",
2050+
"gpt-4o-mini-2024-07-18",
20352051
"gpt-4-turbo",
20362052
"gpt-4-turbo-2024-04-09",
20372053
"gpt-4-0125-preview",

0 commit comments

Comments
 (0)