@@ -85,6 +85,8 @@ def create(
8585 model : Union [
8686 str ,
8787 Literal [
88+ "gpt-4o" ,
89+ "gpt-4o-2024-05-13" ,
8890 "gpt-4-turbo" ,
8991 "gpt-4-turbo-2024-04-09" ,
9092 "gpt-4-0125-preview" ,
@@ -230,6 +232,8 @@ def create(
230232 model : Union [
231233 str ,
232234 Literal [
235+ "gpt-4o" ,
236+ "gpt-4o-2024-05-13" ,
233237 "gpt-4-turbo" ,
234238 "gpt-4-turbo-2024-04-09" ,
235239 "gpt-4-0125-preview" ,
@@ -374,6 +378,8 @@ def create(
374378 model : Union [
375379 str ,
376380 Literal [
381+ "gpt-4o" ,
382+ "gpt-4o-2024-05-13" ,
377383 "gpt-4-turbo" ,
378384 "gpt-4-turbo-2024-04-09" ,
379385 "gpt-4-0125-preview" ,
@@ -517,6 +523,8 @@ def create(
517523 model : Union [
518524 str ,
519525 Literal [
526+ "gpt-4o" ,
527+ "gpt-4o-2024-05-13" ,
520528 "gpt-4-turbo" ,
521529 "gpt-4-turbo-2024-04-09" ,
522530 "gpt-4-0125-preview" ,
@@ -784,6 +792,8 @@ def create_and_poll(
784792 model : Union [
785793 str ,
786794 Literal [
795+ "gpt-4o" ,
796+ "gpt-4o-2024-05-13" ,
787797 "gpt-4-turbo" ,
788798 "gpt-4-turbo-2024-04-09" ,
789799 "gpt-4-0125-preview" ,
@@ -874,6 +884,8 @@ def create_and_stream(
874884 model : Union [
875885 str ,
876886 Literal [
887+ "gpt-4o" ,
888+ "gpt-4o-2024-05-13" ,
877889 "gpt-4-turbo" ,
878890 "gpt-4-turbo-2024-04-09" ,
879891 "gpt-4-0125-preview" ,
@@ -928,6 +940,8 @@ def create_and_stream(
928940 model : Union [
929941 str ,
930942 Literal [
943+ "gpt-4o" ,
944+ "gpt-4o-2024-05-13" ,
931945 "gpt-4-turbo" ,
932946 "gpt-4-turbo-2024-04-09" ,
933947 "gpt-4-0125-preview" ,
@@ -982,6 +996,8 @@ def create_and_stream(
982996 model : Union [
983997 str ,
984998 Literal [
999+ "gpt-4o" ,
1000+ "gpt-4o-2024-05-13" ,
9851001 "gpt-4-turbo" ,
9861002 "gpt-4-turbo-2024-04-09" ,
9871003 "gpt-4-0125-preview" ,
@@ -1120,6 +1136,8 @@ def stream(
11201136 model : Union [
11211137 str ,
11221138 Literal [
1139+ "gpt-4o" ,
1140+ "gpt-4o-2024-05-13" ,
11231141 "gpt-4-turbo" ,
11241142 "gpt-4-turbo-2024-04-09" ,
11251143 "gpt-4-0125-preview" ,
@@ -1173,6 +1191,8 @@ def stream(
11731191 model : Union [
11741192 str ,
11751193 Literal [
1194+ "gpt-4o" ,
1195+ "gpt-4o-2024-05-13" ,
11761196 "gpt-4-turbo" ,
11771197 "gpt-4-turbo-2024-04-09" ,
11781198 "gpt-4-0125-preview" ,
@@ -1226,6 +1246,8 @@ def stream(
12261246 model : Union [
12271247 str ,
12281248 Literal [
1249+ "gpt-4o" ,
1250+ "gpt-4o-2024-05-13" ,
12291251 "gpt-4-turbo" ,
12301252 "gpt-4-turbo-2024-04-09" ,
12311253 "gpt-4-0125-preview" ,
@@ -1617,6 +1639,8 @@ async def create(
16171639 model : Union [
16181640 str ,
16191641 Literal [
1642+ "gpt-4o" ,
1643+ "gpt-4o-2024-05-13" ,
16201644 "gpt-4-turbo" ,
16211645 "gpt-4-turbo-2024-04-09" ,
16221646 "gpt-4-0125-preview" ,
@@ -1762,6 +1786,8 @@ async def create(
17621786 model : Union [
17631787 str ,
17641788 Literal [
1789+ "gpt-4o" ,
1790+ "gpt-4o-2024-05-13" ,
17651791 "gpt-4-turbo" ,
17661792 "gpt-4-turbo-2024-04-09" ,
17671793 "gpt-4-0125-preview" ,
@@ -1906,6 +1932,8 @@ async def create(
19061932 model : Union [
19071933 str ,
19081934 Literal [
1935+ "gpt-4o" ,
1936+ "gpt-4o-2024-05-13" ,
19091937 "gpt-4-turbo" ,
19101938 "gpt-4-turbo-2024-04-09" ,
19111939 "gpt-4-0125-preview" ,
@@ -2049,6 +2077,8 @@ async def create(
20492077 model : Union [
20502078 str ,
20512079 Literal [
2080+ "gpt-4o" ,
2081+ "gpt-4o-2024-05-13" ,
20522082 "gpt-4-turbo" ,
20532083 "gpt-4-turbo-2024-04-09" ,
20542084 "gpt-4-0125-preview" ,
@@ -2316,6 +2346,8 @@ async def create_and_poll(
23162346 model : Union [
23172347 str ,
23182348 Literal [
2349+ "gpt-4o" ,
2350+ "gpt-4o-2024-05-13" ,
23192351 "gpt-4-turbo" ,
23202352 "gpt-4-turbo-2024-04-09" ,
23212353 "gpt-4-0125-preview" ,
@@ -2406,6 +2438,8 @@ def create_and_stream(
24062438 model : Union [
24072439 str ,
24082440 Literal [
2441+ "gpt-4o" ,
2442+ "gpt-4o-2024-05-13" ,
24092443 "gpt-4-turbo" ,
24102444 "gpt-4-turbo-2024-04-09" ,
24112445 "gpt-4-0125-preview" ,
@@ -2460,6 +2494,8 @@ def create_and_stream(
24602494 model : Union [
24612495 str ,
24622496 Literal [
2497+ "gpt-4o" ,
2498+ "gpt-4o-2024-05-13" ,
24632499 "gpt-4-turbo" ,
24642500 "gpt-4-turbo-2024-04-09" ,
24652501 "gpt-4-0125-preview" ,
@@ -2514,6 +2550,8 @@ def create_and_stream(
25142550 model : Union [
25152551 str ,
25162552 Literal [
2553+ "gpt-4o" ,
2554+ "gpt-4o-2024-05-13" ,
25172555 "gpt-4-turbo" ,
25182556 "gpt-4-turbo-2024-04-09" ,
25192557 "gpt-4-0125-preview" ,
@@ -2654,6 +2692,8 @@ def stream(
26542692 model : Union [
26552693 str ,
26562694 Literal [
2695+ "gpt-4o" ,
2696+ "gpt-4o-2024-05-13" ,
26572697 "gpt-4-turbo" ,
26582698 "gpt-4-turbo-2024-04-09" ,
26592699 "gpt-4-0125-preview" ,
@@ -2707,6 +2747,8 @@ def stream(
27072747 model : Union [
27082748 str ,
27092749 Literal [
2750+ "gpt-4o" ,
2751+ "gpt-4o-2024-05-13" ,
27102752 "gpt-4-turbo" ,
27112753 "gpt-4-turbo-2024-04-09" ,
27122754 "gpt-4-0125-preview" ,
@@ -2760,6 +2802,8 @@ def stream(
27602802 model : Union [
27612803 str ,
27622804 Literal [
2805+ "gpt-4o" ,
2806+ "gpt-4o-2024-05-13" ,
27632807 "gpt-4-turbo" ,
27642808 "gpt-4-turbo-2024-04-09" ,
27652809 "gpt-4-0125-preview" ,
0 commit comments