@@ -85,6 +85,8 @@ def create(
85
85
model : Union [
86
86
str ,
87
87
Literal [
88
+ "gpt-4o" ,
89
+ "gpt-4o-2024-05-13" ,
88
90
"gpt-4-turbo" ,
89
91
"gpt-4-turbo-2024-04-09" ,
90
92
"gpt-4-0125-preview" ,
@@ -230,6 +232,8 @@ def create(
230
232
model : Union [
231
233
str ,
232
234
Literal [
235
+ "gpt-4o" ,
236
+ "gpt-4o-2024-05-13" ,
233
237
"gpt-4-turbo" ,
234
238
"gpt-4-turbo-2024-04-09" ,
235
239
"gpt-4-0125-preview" ,
@@ -374,6 +378,8 @@ def create(
374
378
model : Union [
375
379
str ,
376
380
Literal [
381
+ "gpt-4o" ,
382
+ "gpt-4o-2024-05-13" ,
377
383
"gpt-4-turbo" ,
378
384
"gpt-4-turbo-2024-04-09" ,
379
385
"gpt-4-0125-preview" ,
@@ -517,6 +523,8 @@ def create(
517
523
model : Union [
518
524
str ,
519
525
Literal [
526
+ "gpt-4o" ,
527
+ "gpt-4o-2024-05-13" ,
520
528
"gpt-4-turbo" ,
521
529
"gpt-4-turbo-2024-04-09" ,
522
530
"gpt-4-0125-preview" ,
@@ -784,6 +792,8 @@ def create_and_poll(
784
792
model : Union [
785
793
str ,
786
794
Literal [
795
+ "gpt-4o" ,
796
+ "gpt-4o-2024-05-13" ,
787
797
"gpt-4-turbo" ,
788
798
"gpt-4-turbo-2024-04-09" ,
789
799
"gpt-4-0125-preview" ,
@@ -874,6 +884,8 @@ def create_and_stream(
874
884
model : Union [
875
885
str ,
876
886
Literal [
887
+ "gpt-4o" ,
888
+ "gpt-4o-2024-05-13" ,
877
889
"gpt-4-turbo" ,
878
890
"gpt-4-turbo-2024-04-09" ,
879
891
"gpt-4-0125-preview" ,
@@ -928,6 +940,8 @@ def create_and_stream(
928
940
model : Union [
929
941
str ,
930
942
Literal [
943
+ "gpt-4o" ,
944
+ "gpt-4o-2024-05-13" ,
931
945
"gpt-4-turbo" ,
932
946
"gpt-4-turbo-2024-04-09" ,
933
947
"gpt-4-0125-preview" ,
@@ -982,6 +996,8 @@ def create_and_stream(
982
996
model : Union [
983
997
str ,
984
998
Literal [
999
+ "gpt-4o" ,
1000
+ "gpt-4o-2024-05-13" ,
985
1001
"gpt-4-turbo" ,
986
1002
"gpt-4-turbo-2024-04-09" ,
987
1003
"gpt-4-0125-preview" ,
@@ -1120,6 +1136,8 @@ def stream(
1120
1136
model : Union [
1121
1137
str ,
1122
1138
Literal [
1139
+ "gpt-4o" ,
1140
+ "gpt-4o-2024-05-13" ,
1123
1141
"gpt-4-turbo" ,
1124
1142
"gpt-4-turbo-2024-04-09" ,
1125
1143
"gpt-4-0125-preview" ,
@@ -1173,6 +1191,8 @@ def stream(
1173
1191
model : Union [
1174
1192
str ,
1175
1193
Literal [
1194
+ "gpt-4o" ,
1195
+ "gpt-4o-2024-05-13" ,
1176
1196
"gpt-4-turbo" ,
1177
1197
"gpt-4-turbo-2024-04-09" ,
1178
1198
"gpt-4-0125-preview" ,
@@ -1226,6 +1246,8 @@ def stream(
1226
1246
model : Union [
1227
1247
str ,
1228
1248
Literal [
1249
+ "gpt-4o" ,
1250
+ "gpt-4o-2024-05-13" ,
1229
1251
"gpt-4-turbo" ,
1230
1252
"gpt-4-turbo-2024-04-09" ,
1231
1253
"gpt-4-0125-preview" ,
@@ -1617,6 +1639,8 @@ async def create(
1617
1639
model : Union [
1618
1640
str ,
1619
1641
Literal [
1642
+ "gpt-4o" ,
1643
+ "gpt-4o-2024-05-13" ,
1620
1644
"gpt-4-turbo" ,
1621
1645
"gpt-4-turbo-2024-04-09" ,
1622
1646
"gpt-4-0125-preview" ,
@@ -1762,6 +1786,8 @@ async def create(
1762
1786
model : Union [
1763
1787
str ,
1764
1788
Literal [
1789
+ "gpt-4o" ,
1790
+ "gpt-4o-2024-05-13" ,
1765
1791
"gpt-4-turbo" ,
1766
1792
"gpt-4-turbo-2024-04-09" ,
1767
1793
"gpt-4-0125-preview" ,
@@ -1906,6 +1932,8 @@ async def create(
1906
1932
model : Union [
1907
1933
str ,
1908
1934
Literal [
1935
+ "gpt-4o" ,
1936
+ "gpt-4o-2024-05-13" ,
1909
1937
"gpt-4-turbo" ,
1910
1938
"gpt-4-turbo-2024-04-09" ,
1911
1939
"gpt-4-0125-preview" ,
@@ -2049,6 +2077,8 @@ async def create(
2049
2077
model : Union [
2050
2078
str ,
2051
2079
Literal [
2080
+ "gpt-4o" ,
2081
+ "gpt-4o-2024-05-13" ,
2052
2082
"gpt-4-turbo" ,
2053
2083
"gpt-4-turbo-2024-04-09" ,
2054
2084
"gpt-4-0125-preview" ,
@@ -2316,6 +2346,8 @@ async def create_and_poll(
2316
2346
model : Union [
2317
2347
str ,
2318
2348
Literal [
2349
+ "gpt-4o" ,
2350
+ "gpt-4o-2024-05-13" ,
2319
2351
"gpt-4-turbo" ,
2320
2352
"gpt-4-turbo-2024-04-09" ,
2321
2353
"gpt-4-0125-preview" ,
@@ -2406,6 +2438,8 @@ def create_and_stream(
2406
2438
model : Union [
2407
2439
str ,
2408
2440
Literal [
2441
+ "gpt-4o" ,
2442
+ "gpt-4o-2024-05-13" ,
2409
2443
"gpt-4-turbo" ,
2410
2444
"gpt-4-turbo-2024-04-09" ,
2411
2445
"gpt-4-0125-preview" ,
@@ -2460,6 +2494,8 @@ def create_and_stream(
2460
2494
model : Union [
2461
2495
str ,
2462
2496
Literal [
2497
+ "gpt-4o" ,
2498
+ "gpt-4o-2024-05-13" ,
2463
2499
"gpt-4-turbo" ,
2464
2500
"gpt-4-turbo-2024-04-09" ,
2465
2501
"gpt-4-0125-preview" ,
@@ -2514,6 +2550,8 @@ def create_and_stream(
2514
2550
model : Union [
2515
2551
str ,
2516
2552
Literal [
2553
+ "gpt-4o" ,
2554
+ "gpt-4o-2024-05-13" ,
2517
2555
"gpt-4-turbo" ,
2518
2556
"gpt-4-turbo-2024-04-09" ,
2519
2557
"gpt-4-0125-preview" ,
@@ -2654,6 +2692,8 @@ def stream(
2654
2692
model : Union [
2655
2693
str ,
2656
2694
Literal [
2695
+ "gpt-4o" ,
2696
+ "gpt-4o-2024-05-13" ,
2657
2697
"gpt-4-turbo" ,
2658
2698
"gpt-4-turbo-2024-04-09" ,
2659
2699
"gpt-4-0125-preview" ,
@@ -2707,6 +2747,8 @@ def stream(
2707
2747
model : Union [
2708
2748
str ,
2709
2749
Literal [
2750
+ "gpt-4o" ,
2751
+ "gpt-4o-2024-05-13" ,
2710
2752
"gpt-4-turbo" ,
2711
2753
"gpt-4-turbo-2024-04-09" ,
2712
2754
"gpt-4-0125-preview" ,
@@ -2760,6 +2802,8 @@ def stream(
2760
2802
model : Union [
2761
2803
str ,
2762
2804
Literal [
2805
+ "gpt-4o" ,
2806
+ "gpt-4o-2024-05-13" ,
2763
2807
"gpt-4-turbo" ,
2764
2808
"gpt-4-turbo-2024-04-09" ,
2765
2809
"gpt-4-0125-preview" ,
0 commit comments