File tree Expand file tree Collapse file tree 5 files changed +19
-1
lines changed
Expand file tree Collapse file tree 5 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 64
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-084b8f68408c6b689a55200a78bcf233769bfcd8e999d9fadaeb399152b05bcd .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-47007cc1aa5bc7b74107a99b377925978a0bd376ed67bdae724e80d5d0b63d57 .yml
Original file line number Diff line number Diff line change @@ -1000,6 +1000,8 @@ export interface AssistantCreateParams {
10001000 */
10011001 model :
10021002 | ( string & { } )
1003+ | 'gpt-4o'
1004+ | 'gpt-4o-2024-05-13'
10031005 | 'gpt-4-turbo'
10041006 | 'gpt-4-turbo-2024-04-09'
10051007 | 'gpt-4-0125-preview'
Original file line number Diff line number Diff line change @@ -660,6 +660,8 @@ export interface RunCreateParamsBase {
660660 */
661661 model ?:
662662 | ( string & { } )
663+ | 'gpt-4o'
664+ | 'gpt-4o-2024-05-13'
663665 | 'gpt-4-turbo'
664666 | 'gpt-4-turbo-2024-04-09'
665667 | 'gpt-4-0125-preview'
@@ -919,6 +921,8 @@ export interface RunCreateAndPollParams {
919921 */
920922 model ?:
921923 | ( string & { } )
924+ | 'gpt-4o'
925+ | 'gpt-4o-2024-05-13'
922926 | 'gpt-4-turbo'
923927 | 'gpt-4-turbo-2024-04-09'
924928 | 'gpt-4-0125-preview'
@@ -1124,6 +1128,8 @@ export interface RunCreateAndStreamParams {
11241128 */
11251129 model ?:
11261130 | ( string & { } )
1131+ | 'gpt-4o'
1132+ | 'gpt-4o-2024-05-13'
11271133 | 'gpt-4-turbo'
11281134 | 'gpt-4-turbo-2024-04-09'
11291135 | 'gpt-4-0125-preview'
@@ -1329,6 +1335,8 @@ export interface RunStreamParams {
13291335 */
13301336 model ?:
13311337 | ( string & { } )
1338+ | 'gpt-4o'
1339+ | 'gpt-4o-2024-05-13'
13321340 | 'gpt-4-turbo'
13331341 | 'gpt-4-turbo-2024-04-09'
13341342 | 'gpt-4-0125-preview'
Original file line number Diff line number Diff line change @@ -492,6 +492,8 @@ export interface ThreadCreateAndRunParamsBase {
492492 */
493493 model ?:
494494 | ( string & { } )
495+ | 'gpt-4o'
496+ | 'gpt-4o-2024-05-13'
495497 | 'gpt-4-turbo'
496498 | 'gpt-4-turbo-2024-04-09'
497499 | 'gpt-4-0125-preview'
@@ -849,6 +851,8 @@ export interface ThreadCreateAndRunPollParams {
849851 */
850852 model ?:
851853 | ( string & { } )
854+ | 'gpt-4o'
855+ | 'gpt-4o-2024-05-13'
852856 | 'gpt-4-turbo'
853857 | 'gpt-4-turbo-2024-04-09'
854858 | 'gpt-4-0125-preview'
@@ -1178,6 +1182,8 @@ export interface ThreadCreateAndRunStreamParams {
11781182 */
11791183 model ?:
11801184 | ( string & { } )
1185+ | 'gpt-4o'
1186+ | 'gpt-4o-2024-05-13'
11811187 | 'gpt-4-turbo'
11821188 | 'gpt-4-turbo-2024-04-09'
11831189 | 'gpt-4-0125-preview'
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ export class Chat extends APIResource {
99}
1010
1111export type ChatModel =
12+ | 'gpt-4o'
13+ | 'gpt-4o-2024-05-13'
1214 | 'gpt-4-turbo'
1315 | 'gpt-4-turbo-2024-04-09'
1416 | 'gpt-4-0125-preview'
You can’t perform that action at this time.
0 commit comments