@@ -194,48 +194,48 @@ export type AssistantStreamEvent =
194
194
} & ErrorEvent);
195
195
196
196
export const AssistantSupportedModels = {
197
+ GPT_3_5_TURBO: 'gpt-3.5-turbo',
198
+ GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
199
+ GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
200
+ GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
201
+ GPT_4: 'gpt-4',
202
+ GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
197
203
GPT_4O: 'gpt-4o',
204
+ GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
198
205
GPT_4O_2024_05_13: 'gpt-4o-2024-05-13',
199
206
GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
200
207
GPT_4O_2024_11_20: 'gpt-4o-2024-11-20',
201
- GPT_4_1: 'gpt-4.1',
202
208
GPT_4O_MINI: 'gpt-4o-mini',
203
- GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
204
209
GPT_4O_MINI_2024_07_18: 'gpt-4o-mini-2024-07-18',
205
- GPT_4_1_MINI: 'gpt-4.1-mini',
206
210
GPT_4_0125_PREVIEW: 'gpt-4-0125-preview',
207
- GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
208
- GPT_4: 'gpt-4',
209
- GPT_4_1_NANO: 'gpt-4.1-nano',
210
211
GPT_4_0314: 'gpt-4-0314',
211
- GPT_5: 'gpt-5',
212
212
GPT_4_0613: 'gpt-4-0613',
213
- GPT_5_2025_08_07: 'gpt-5-2025-08-07',
214
- GPT_3_5_TURBO: 'gpt-3.5-turbo',
215
- GPT_5_MINI: 'gpt-5-mini',
216
- GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
217
- GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
218
- GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
219
- GPT_5_NANO: 'gpt-5-nano',
220
- GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
221
- GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
222
- GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
223
- GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
224
- GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
213
+ GPT_4_1: 'gpt-4.1',
225
214
GPT_4_1106_PREVIEW: 'gpt-4-1106-preview',
226
- O1: 'o1',
215
+ GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
216
+ GPT_4_1_MINI: 'gpt-4.1-mini',
217
+ GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
218
+ GPT_4_1_NANO: 'gpt-4.1-nano',
219
+ GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
227
220
GPT_4_32K: 'gpt-4-32k',
228
- O3_MINI: 'o3-mini',
229
221
GPT_4_32K_0314: 'gpt-4-32k-0314',
230
- O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
231
222
GPT_4_32K_0613: 'gpt-4-32k-0613',
232
- O1_2024_12_17: 'o1-2024-12-17',
233
223
GPT_4_5_PREVIEW: 'gpt-4.5-preview',
234
224
GPT_4_5_PREVIEW_2025_02_27: 'gpt-4.5-preview-2025-02-27',
235
225
GPT_4_TURBO: 'gpt-4-turbo',
236
226
GPT_4_TURBO_2024_04_09: 'gpt-4-turbo-2024-04-09',
237
227
GPT_4_TURBO_PREVIEW: 'gpt-4-turbo-preview',
238
228
GPT_4_VISION_PREVIEW: 'gpt-4-vision-preview',
229
+ GPT_5: 'gpt-5',
230
+ GPT_5_2025_08_07: 'gpt-5-2025-08-07',
231
+ GPT_5_MINI: 'gpt-5-mini',
232
+ GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
233
+ GPT_5_NANO: 'gpt-5-nano',
234
+ GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
235
+ O1: 'o1',
236
+ O1_2024_12_17: 'o1-2024-12-17',
237
+ O3_MINI: 'o3-mini',
238
+ O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
239
239
} as const;
240
240
241
241
export type AssistantSupportedModels =
@@ -702,38 +702,58 @@ export type AuditLog = {
702
702
/**
703
703
* The details for events with this `type`.
704
704
*/
705
- 'user.added'?: {
706
- /**
707
- * The user ID.
708
- */
709
- id?: string;
705
+ 'rate_limit.updated'?: {
710
706
/**
711
- * The payload used to add the user to the project .
707
+ * The payload used to update the rate limits .
712
708
*/
713
- data ?: {
709
+ changes_requested ?: {
714
710
/**
715
- * The role of the user. Is either `owner` or `member` .
711
+ * The maximum batch input tokens per day. Only relevant for certain models .
716
712
*/
717
- role?: string;
713
+ batch_1_day_max_input_tokens?: number;
714
+ /**
715
+ * The maximum audio megabytes per minute. Only relevant for certain models.
716
+ */
717
+ max_audio_megabytes_per_1_minute?: number;
718
+ /**
719
+ * The maximum images per minute. Only relevant for certain models.
720
+ */
721
+ max_images_per_1_minute?: number;
722
+ /**
723
+ * The maximum requests per day. Only relevant for certain models.
724
+ */
725
+ max_requests_per_1_day?: number;
726
+ /**
727
+ * The maximum requests per minute.
728
+ */
729
+ max_requests_per_1_minute?: number;
730
+ /**
731
+ * The maximum tokens per minute.
732
+ */
733
+ max_tokens_per_1_minute?: number;
718
734
};
735
+ /**
736
+ * The rate limit ID
737
+ */
738
+ id?: string;
719
739
};
720
740
/**
721
741
* The details for events with this `type`.
722
742
*/
723
- 'user.updated'?: {
724
- /**
725
- * The project ID.
726
- */
727
- id?: string;
743
+ 'service_account.created'?: {
728
744
/**
729
- * The payload used to update the user .
745
+ * The payload used to create the service account .
730
746
*/
731
- changes_requested ?: {
747
+ data ?: {
732
748
/**
733
- * The role of the user . Is either `owner` or `member`.
749
+ * The role of the service account . Is either `owner` or `member`.
734
750
*/
735
751
role?: string;
736
752
};
753
+ /**
754
+ * The service account ID.
755
+ */
756
+ id?: string;
737
757
};
738
758
/**
739
759
* The details for events with this `type`.
@@ -762,69 +782,49 @@ export type AuditLog = {
762
782
*/
763
783
id?: string;
764
784
};
785
+ type: AuditLogEventType;
765
786
/**
766
787
* The details for events with this `type`.
767
788
*/
768
- 'rate_limit.updated '?: {
789
+ 'user.added '?: {
769
790
/**
770
- * The payload used to update the rate limits .
791
+ * The payload used to add the user to the project .
771
792
*/
772
- changes_requested?: {
773
- /**
774
- * The maximum requests per minute.
775
- */
776
- max_requests_per_1_minute?: number;
777
- /**
778
- * The maximum tokens per minute.
779
- */
780
- max_tokens_per_1_minute?: number;
781
- /**
782
- * The maximum images per minute. Only relevant for certain models.
783
- */
784
- max_images_per_1_minute?: number;
785
- /**
786
- * The maximum audio megabytes per minute. Only relevant for certain models.
787
- */
788
- max_audio_megabytes_per_1_minute?: number;
789
- /**
790
- * The maximum requests per day. Only relevant for certain models.
791
- */
792
- max_requests_per_1_day?: number;
793
+ data?: {
793
794
/**
794
- * The maximum batch input tokens per day. Only relevant for certain models .
795
+ * The role of the user. Is either `owner` or `member` .
795
796
*/
796
- batch_1_day_max_input_tokens ?: number ;
797
+ role ?: string ;
797
798
};
798
799
/**
799
- * The rate limit ID
800
+ * The user ID.
800
801
*/
801
802
id?: string;
802
803
};
803
- type: AuditLogEventType;
804
804
/**
805
805
* The details for events with this `type`.
806
806
*/
807
- 'service_account.created'?: {
808
- /**
809
- * The payload used to create the service account.
810
- */
811
- data?: {
812
- /**
813
- * The role of the service account. Is either `owner` or `member`.
814
- */
815
- role?: string;
816
- };
807
+ 'user.deleted'?: {
817
808
/**
818
- * The service account ID.
809
+ * The user ID.
819
810
*/
820
811
id?: string;
821
812
};
822
813
/**
823
814
* The details for events with this `type`.
824
815
*/
825
- 'user.deleted '?: {
816
+ 'user.updated '?: {
826
817
/**
827
- * The user ID.
818
+ * The payload used to update the user.
819
+ */
820
+ changes_requested?: {
821
+ /**
822
+ * The role of the user. Is either `owner` or `member`.
823
+ */
824
+ role?: string;
825
+ };
826
+ /**
827
+ * The project ID.
828
828
*/
829
829
id?: string;
830
830
};
@@ -18135,69 +18135,69 @@ export type MessageContentDelta =
18135
18135
} & MessageDeltaContentImageUrlObject);
18136
18136
18137
18137
export const ChatModel = {
18138
- GPT_4_1: 'gpt-4.1',
18139
- GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
18140
- GPT_4_1_MINI: 'gpt-4.1-mini',
18141
- GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
18142
- GPT_4_1_NANO: 'gpt-4.1-nano',
18143
18138
GPT_4O: 'gpt-4o',
18144
- GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
18145
- GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
18146
- GPT_5: 'gpt-5',
18139
+ CHATGPT_4O_LATEST: 'chatgpt-4o-latest',
18147
18140
GPT_4O_2024_05_13: 'gpt-4o-2024-05-13',
18148
- GPT_5_2025_08_07: 'gpt-5-2025-08-07',
18141
+ CODEX_MINI_LATEST: 'codex-mini-latest',
18142
+ GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
18149
18143
GPT_4O_2024_11_20: 'gpt-4o-2024-11-20',
18150
- GPT_5_CHAT_LATEST: 'gpt-5-chat-latest',
18151
18144
GPT_4O_AUDIO_PREVIEW: 'gpt-4o-audio-preview',
18152
- GPT_5_MINI: 'gpt-5-mini',
18153
18145
GPT_4O_AUDIO_PREVIEW_2024_10_01: 'gpt-4o-audio-preview-2024-10-01',
18154
- GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
18155
18146
GPT_4O_AUDIO_PREVIEW_2024_12_17: 'gpt-4o-audio-preview-2024-12-17',
18156
- GPT_5_NANO : 'gpt-5-nano ',
18147
+ GPT_4 : 'gpt-4 ',
18157
18148
GPT_4O_AUDIO_PREVIEW_2025_06_03: 'gpt-4o-audio-preview-2025-06-03',
18158
- GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
18159
- CHATGPT_4O_LATEST: 'chatgpt-4o-latest',
18160
- O1: 'o1',
18161
- CODEX_MINI_LATEST: 'codex-mini-latest',
18162
- O1_2024_12_17: 'o1-2024-12-17',
18163
18149
GPT_4O_MINI: 'gpt-4o-mini',
18164
- O1_MINI: 'o1-mini',
18165
18150
GPT_4O_MINI_2024_07_18: 'gpt-4o-mini-2024-07-18',
18166
- O3: 'o3',
18167
- GPT_4: 'gpt-4',
18168
- O3_2025_04_16: 'o3-2025-04-16',
18169
18151
GPT_4O_MINI_AUDIO_PREVIEW: 'gpt-4o-mini-audio-preview',
18170
- O4_MINI: 'o4-mini',
18171
18152
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17: 'gpt-4o-mini-audio-preview-2024-12-17',
18172
- O4_MINI_2025_04_16: 'o4-mini-2025-04-16',
18173
18153
GPT_3_5_TURBO: 'gpt-3.5-turbo',
18174
- O3_MINI : 'o3-mini ',
18154
+ GPT_4_1 : 'gpt-4.1 ',
18175
18155
GPT_3_5_TURBO_0301: 'gpt-3.5-turbo-0301',
18176
- O3_MINI_2025_01_31 : 'o3-mini -2025-01-31 ',
18156
+ GPT_4_1_2025_04_14 : 'gpt-4.1 -2025-04-14 ',
18177
18157
GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
18178
- O1_PREVIEW : 'o1-preview ',
18158
+ GPT_4_1_MINI : 'gpt-4.1-mini ',
18179
18159
GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
18180
- O1_PREVIEW_2024_09_12 : 'o1-preview-2024-09-12 ',
18160
+ GPT_4_1_MINI_2025_04_14 : 'gpt-4.1-mini-2025-04-14 ',
18181
18161
GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
18182
- O1_MINI_2024_09_12 : 'o1-mini-2024-09-12 ',
18162
+ GPT_4_1_NANO : 'gpt-4.1-nano ',
18183
18163
GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
18184
- GPT_4O_MINI_SEARCH_PREVIEW : 'gpt-4o-mini-search-preview ',
18164
+ GPT_4_1_NANO_2025_04_14 : 'gpt-4.1-nano-2025-04-14 ',
18185
18165
GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
18166
+ GPT_5: 'gpt-5',
18167
+ GPT_4O_MINI_SEARCH_PREVIEW: 'gpt-4o-mini-search-preview',
18168
+ GPT_5_2025_08_07: 'gpt-5-2025-08-07',
18186
18169
GPT_4O_MINI_SEARCH_PREVIEW_2025_03_11:
18187
18170
'gpt-4o-mini-search-preview-2025-03-11',
18171
+ GPT_5_CHAT_LATEST: 'gpt-5-chat-latest',
18188
18172
GPT_4O_SEARCH_PREVIEW: 'gpt-4o-search-preview',
18173
+ GPT_5_MINI: 'gpt-5-mini',
18189
18174
GPT_4O_SEARCH_PREVIEW_2025_03_11: 'gpt-4o-search-preview-2025-03-11',
18175
+ GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
18190
18176
GPT_4_0125_PREVIEW: 'gpt-4-0125-preview',
18177
+ GPT_5_NANO: 'gpt-5-nano',
18191
18178
GPT_4_0314: 'gpt-4-0314',
18179
+ GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
18192
18180
GPT_4_0613: 'gpt-4-0613',
18181
+ O1: 'o1',
18193
18182
GPT_4_1106_PREVIEW: 'gpt-4-1106-preview',
18183
+ O1_2024_12_17: 'o1-2024-12-17',
18194
18184
GPT_4_32K: 'gpt-4-32k',
18185
+ O1_MINI: 'o1-mini',
18195
18186
GPT_4_32K_0314: 'gpt-4-32k-0314',
18187
+ O3: 'o3',
18196
18188
GPT_4_32K_0613: 'gpt-4-32k-0613',
18189
+ O3_2025_04_16: 'o3-2025-04-16',
18197
18190
GPT_4_TURBO: 'gpt-4-turbo',
18191
+ O4_MINI: 'o4-mini',
18198
18192
GPT_4_TURBO_2024_04_09: 'gpt-4-turbo-2024-04-09',
18193
+ O4_MINI_2025_04_16: 'o4-mini-2025-04-16',
18199
18194
GPT_4_TURBO_PREVIEW: 'gpt-4-turbo-preview',
18195
+ O3_MINI: 'o3-mini',
18200
18196
GPT_4_VISION_PREVIEW: 'gpt-4-vision-preview',
18197
+ O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
18198
+ O1_MINI_2024_09_12: 'o1-mini-2024-09-12',
18199
+ O1_PREVIEW: 'o1-preview',
18200
+ O1_PREVIEW_2024_09_12: 'o1-preview-2024-09-12',
18201
18201
} as const;
18202
18202
18203
18203
export type ChatModel = (typeof ChatModel)[keyof typeof ChatModel];
0 commit comments