modelparams 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of modelparams might be problematic. Click here for more details.

@@ -0,0 +1,610 @@
1
+ # AUTO-GENERATED by packages/modelparams-python/scripts/codegen.ts.
2
+ # Do not edit by hand; the YAML catalog under /models is the source of truth.
3
+
4
+ # ruff: noqa: F401
5
+
6
+ from typing import Annotated, Literal
7
+
8
+ from pydantic import ConfigDict, Field
9
+ from typing_extensions import TypedDict
10
+
11
+ _PARAMS_CONFIG = ConfigDict(strict=True, extra="forbid")
12
+
13
+ Chatgpt_4o_LatestParams = TypedDict(
14
+ "Chatgpt_4o_LatestParams",
15
+ {
16
+ "max_tokens": Annotated[int, Field(ge=1)],
17
+ "temperature": Annotated[float, Field(ge=0, le=2)],
18
+ "top_p": Annotated[float, Field(ge=0, le=1)],
19
+ },
20
+ total=False,
21
+ )
22
+ setattr(Chatgpt_4o_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
23
+
24
+ Gpt_3_5_TurboParams = TypedDict(
25
+ "Gpt_3_5_TurboParams",
26
+ {
27
+ "max_tokens": Annotated[int, Field(ge=1)],
28
+ "temperature": Annotated[float, Field(ge=0, le=2)],
29
+ "top_p": Annotated[float, Field(ge=0, le=1)],
30
+ },
31
+ total=False,
32
+ )
33
+ setattr(Gpt_3_5_TurboParams, "__pydantic_config__", _PARAMS_CONFIG)
34
+
35
+ Gpt_4_TurboParams = TypedDict(
36
+ "Gpt_4_TurboParams",
37
+ {
38
+ "max_tokens": Annotated[int, Field(ge=1)],
39
+ "temperature": Annotated[float, Field(ge=0, le=2)],
40
+ "top_p": Annotated[float, Field(ge=0, le=1)],
41
+ },
42
+ total=False,
43
+ )
44
+ setattr(Gpt_4_TurboParams, "__pydantic_config__", _PARAMS_CONFIG)
45
+
46
+ Gpt_4_Turbo_2024_04_09Params = TypedDict(
47
+ "Gpt_4_Turbo_2024_04_09Params",
48
+ {
49
+ "max_tokens": Annotated[int, Field(ge=1)],
50
+ "temperature": Annotated[float, Field(ge=0, le=2)],
51
+ "top_p": Annotated[float, Field(ge=0, le=1)],
52
+ },
53
+ total=False,
54
+ )
55
+ setattr(Gpt_4_Turbo_2024_04_09Params, "__pydantic_config__", _PARAMS_CONFIG)
56
+
57
+ Gpt_4_1Params = TypedDict(
58
+ "Gpt_4_1Params",
59
+ {
60
+ "max_tokens": Annotated[int, Field(ge=1)],
61
+ "temperature": Annotated[float, Field(ge=0, le=2)],
62
+ "top_p": Annotated[float, Field(ge=0, le=1)],
63
+ },
64
+ total=False,
65
+ )
66
+ setattr(Gpt_4_1Params, "__pydantic_config__", _PARAMS_CONFIG)
67
+
68
+ Gpt_4_1_MiniParams = TypedDict(
69
+ "Gpt_4_1_MiniParams",
70
+ {
71
+ "max_tokens": Annotated[int, Field(ge=1)],
72
+ "temperature": Annotated[float, Field(ge=0, le=2)],
73
+ "top_p": Annotated[float, Field(ge=0, le=1)],
74
+ },
75
+ total=False,
76
+ )
77
+ setattr(Gpt_4_1_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
78
+
79
+ Gpt_4_1_NanoParams = TypedDict(
80
+ "Gpt_4_1_NanoParams",
81
+ {
82
+ "max_tokens": Annotated[int, Field(ge=1)],
83
+ "temperature": Annotated[float, Field(ge=0, le=2)],
84
+ "top_p": Annotated[float, Field(ge=0, le=1)],
85
+ },
86
+ total=False,
87
+ )
88
+ setattr(Gpt_4_1_NanoParams, "__pydantic_config__", _PARAMS_CONFIG)
89
+
90
+ Gpt_4oParams = TypedDict(
91
+ "Gpt_4oParams",
92
+ {
93
+ "max_tokens": Annotated[int, Field(ge=1)],
94
+ "temperature": Annotated[float, Field(ge=0, le=2)],
95
+ "top_p": Annotated[float, Field(ge=0, le=1)],
96
+ },
97
+ total=False,
98
+ )
99
+ setattr(Gpt_4oParams, "__pydantic_config__", _PARAMS_CONFIG)
100
+
101
+ Gpt_4o_2024_11_20Params = TypedDict(
102
+ "Gpt_4o_2024_11_20Params",
103
+ {
104
+ "max_tokens": Annotated[int, Field(ge=1)],
105
+ "temperature": Annotated[float, Field(ge=0, le=2)],
106
+ "top_p": Annotated[float, Field(ge=0, le=1)],
107
+ },
108
+ total=False,
109
+ )
110
+ setattr(Gpt_4o_2024_11_20Params, "__pydantic_config__", _PARAMS_CONFIG)
111
+
112
+ Gpt_4o_MiniParams = TypedDict(
113
+ "Gpt_4o_MiniParams",
114
+ {
115
+ "max_tokens": Annotated[int, Field(ge=1)],
116
+ "temperature": Annotated[float, Field(ge=0, le=2)],
117
+ "top_p": Annotated[float, Field(ge=0, le=1)],
118
+ },
119
+ total=False,
120
+ )
121
+ setattr(Gpt_4o_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
122
+
123
+ Gpt_5Params = TypedDict(
124
+ "Gpt_5Params",
125
+ {
126
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
127
+ "reasoning_effort": Literal["minimal", "low", "medium", "high"],
128
+ },
129
+ total=False,
130
+ )
131
+ setattr(Gpt_5Params, "__pydantic_config__", _PARAMS_CONFIG)
132
+
133
+ Gpt_5_Chat_LatestParams = TypedDict(
134
+ "Gpt_5_Chat_LatestParams",
135
+ {
136
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
137
+ },
138
+ total=False,
139
+ )
140
+ setattr(Gpt_5_Chat_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
141
+
142
+ Gpt_5_MiniParams = TypedDict(
143
+ "Gpt_5_MiniParams",
144
+ {
145
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
146
+ "reasoning_effort": Literal["minimal", "low", "medium", "high"],
147
+ },
148
+ total=False,
149
+ )
150
+ setattr(Gpt_5_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
151
+
152
+ Gpt_5_NanoParams = TypedDict(
153
+ "Gpt_5_NanoParams",
154
+ {
155
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
156
+ "reasoning_effort": Literal["minimal", "low", "medium", "high"],
157
+ },
158
+ total=False,
159
+ )
160
+ setattr(Gpt_5_NanoParams, "__pydantic_config__", _PARAMS_CONFIG)
161
+
162
+ Gpt_5_1Params = TypedDict(
163
+ "Gpt_5_1Params",
164
+ {
165
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
166
+ "reasoning_effort": Literal["none", "low", "medium", "high"],
167
+ },
168
+ total=False,
169
+ )
170
+ setattr(Gpt_5_1Params, "__pydantic_config__", _PARAMS_CONFIG)
171
+
172
+ Gpt_5_1_Codex_Max_SubscriptionParams = TypedDict(
173
+ "Gpt_5_1_Codex_Max_SubscriptionParams",
174
+ {
175
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
176
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
177
+ "text.verbosity": Literal["low", "medium", "high"],
178
+ },
179
+ total=False,
180
+ )
181
+ setattr(Gpt_5_1_Codex_Max_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
182
+
183
+ Gpt_5_1_Codex_SubscriptionParams = TypedDict(
184
+ "Gpt_5_1_Codex_SubscriptionParams",
185
+ {
186
+ "reasoning.effort": Literal["minimal", "low", "medium", "high"],
187
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
188
+ "text.verbosity": Literal["low", "medium", "high"],
189
+ },
190
+ total=False,
191
+ )
192
+ setattr(Gpt_5_1_Codex_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
193
+
194
+ Gpt_5_2Params = TypedDict(
195
+ "Gpt_5_2Params",
196
+ {
197
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
198
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
199
+ },
200
+ total=False,
201
+ )
202
+ setattr(Gpt_5_2Params, "__pydantic_config__", _PARAMS_CONFIG)
203
+
204
+ Gpt_5_2_Codex_SubscriptionParams = TypedDict(
205
+ "Gpt_5_2_Codex_SubscriptionParams",
206
+ {
207
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
208
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
209
+ "text.verbosity": Literal["low", "medium", "high"],
210
+ },
211
+ total=False,
212
+ )
213
+ setattr(Gpt_5_2_Codex_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
214
+
215
+ Gpt_5_2_SubscriptionParams = TypedDict(
216
+ "Gpt_5_2_SubscriptionParams",
217
+ {
218
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
219
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
220
+ "text.verbosity": Literal["low", "medium", "high"],
221
+ },
222
+ total=False,
223
+ )
224
+ setattr(Gpt_5_2_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
225
+
226
+ Gpt_5_3_CodexParams = TypedDict(
227
+ "Gpt_5_3_CodexParams",
228
+ {
229
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
230
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
231
+ },
232
+ total=False,
233
+ )
234
+ setattr(Gpt_5_3_CodexParams, "__pydantic_config__", _PARAMS_CONFIG)
235
+
236
+ Gpt_5_3_Codex_Spark_SubscriptionParams = TypedDict(
237
+ "Gpt_5_3_Codex_Spark_SubscriptionParams",
238
+ {
239
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
240
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
241
+ "text.verbosity": Literal["low", "medium", "high"],
242
+ },
243
+ total=False,
244
+ )
245
+ setattr(Gpt_5_3_Codex_Spark_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
246
+
247
+ Gpt_5_3_Codex_SubscriptionParams = TypedDict(
248
+ "Gpt_5_3_Codex_SubscriptionParams",
249
+ {
250
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
251
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
252
+ "text.verbosity": Literal["low", "medium", "high"],
253
+ },
254
+ total=False,
255
+ )
256
+ setattr(Gpt_5_3_Codex_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
257
+
258
+ Gpt_5_4Params = TypedDict(
259
+ "Gpt_5_4Params",
260
+ {
261
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
262
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
263
+ },
264
+ total=False,
265
+ )
266
+ setattr(Gpt_5_4Params, "__pydantic_config__", _PARAMS_CONFIG)
267
+
268
+ Gpt_5_4_MiniParams = TypedDict(
269
+ "Gpt_5_4_MiniParams",
270
+ {
271
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
272
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
273
+ },
274
+ total=False,
275
+ )
276
+ setattr(Gpt_5_4_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
277
+
278
+ Gpt_5_4_Mini_SubscriptionParams = TypedDict(
279
+ "Gpt_5_4_Mini_SubscriptionParams",
280
+ {
281
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
282
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
283
+ "text.verbosity": Literal["low", "medium", "high"],
284
+ },
285
+ total=False,
286
+ )
287
+ setattr(Gpt_5_4_Mini_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
288
+
289
+ Gpt_5_4_NanoParams = TypedDict(
290
+ "Gpt_5_4_NanoParams",
291
+ {
292
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
293
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
294
+ },
295
+ total=False,
296
+ )
297
+ setattr(Gpt_5_4_NanoParams, "__pydantic_config__", _PARAMS_CONFIG)
298
+
299
+ Gpt_5_4_ProParams = TypedDict(
300
+ "Gpt_5_4_ProParams",
301
+ {
302
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
303
+ "reasoning_effort": Literal["medium", "high", "xhigh"],
304
+ },
305
+ total=False,
306
+ )
307
+ setattr(Gpt_5_4_ProParams, "__pydantic_config__", _PARAMS_CONFIG)
308
+
309
+ Gpt_5_4_Pro_SubscriptionParams = TypedDict(
310
+ "Gpt_5_4_Pro_SubscriptionParams",
311
+ {
312
+ "reasoning.effort": Literal["medium", "high", "xhigh"],
313
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
314
+ "text.verbosity": Literal["low", "medium", "high"],
315
+ },
316
+ total=False,
317
+ )
318
+ setattr(Gpt_5_4_Pro_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
319
+
320
+ Gpt_5_4_SubscriptionParams = TypedDict(
321
+ "Gpt_5_4_SubscriptionParams",
322
+ {
323
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
324
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
325
+ "text.verbosity": Literal["low", "medium", "high"],
326
+ },
327
+ total=False,
328
+ )
329
+ setattr(Gpt_5_4_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
330
+
331
+ Gpt_5_5Params = TypedDict(
332
+ "Gpt_5_5Params",
333
+ {
334
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
335
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
336
+ },
337
+ total=False,
338
+ )
339
+ setattr(Gpt_5_5Params, "__pydantic_config__", _PARAMS_CONFIG)
340
+
341
+ Gpt_5_5_ProParams = TypedDict(
342
+ "Gpt_5_5_ProParams",
343
+ {
344
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
345
+ "reasoning_effort": Literal["medium", "high", "xhigh"],
346
+ },
347
+ total=False,
348
+ )
349
+ setattr(Gpt_5_5_ProParams, "__pydantic_config__", _PARAMS_CONFIG)
350
+
351
+ Gpt_5_5_Pro_SubscriptionParams = TypedDict(
352
+ "Gpt_5_5_Pro_SubscriptionParams",
353
+ {
354
+ "reasoning.effort": Literal["medium", "high", "xhigh"],
355
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
356
+ "text.verbosity": Literal["low", "medium", "high"],
357
+ },
358
+ total=False,
359
+ )
360
+ setattr(Gpt_5_5_Pro_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
361
+
362
+ Gpt_5_5_SubscriptionParams = TypedDict(
363
+ "Gpt_5_5_SubscriptionParams",
364
+ {
365
+ "reasoning.effort": Literal["minimal", "low", "medium", "high", "xhigh"],
366
+ "reasoning.summary": Literal["auto", "concise", "detailed", "none"],
367
+ "text.verbosity": Literal["low", "medium", "high"],
368
+ },
369
+ total=False,
370
+ )
371
+ setattr(Gpt_5_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
372
+
373
+ Gpt_5_6_LunaParams = TypedDict(
374
+ "Gpt_5_6_LunaParams",
375
+ {
376
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
377
+ "reasoning_effort": Literal["none", "low", "medium", "high"],
378
+ },
379
+ total=False,
380
+ )
381
+ setattr(Gpt_5_6_LunaParams, "__pydantic_config__", _PARAMS_CONFIG)
382
+
383
+ Gpt_5_6_Luna_SubscriptionParams = TypedDict(
384
+ "Gpt_5_6_Luna_SubscriptionParams",
385
+ {
386
+ "reasoning.effort": Literal["none", "low", "medium", "high", "xhigh", "max"],
387
+ "reasoning.summary": Literal["auto", "concise", "detailed"],
388
+ "text.verbosity": Literal["low", "medium", "high"],
389
+ },
390
+ total=False,
391
+ )
392
+ setattr(Gpt_5_6_Luna_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
393
+
394
+ Gpt_5_6_SolParams = TypedDict(
395
+ "Gpt_5_6_SolParams",
396
+ {
397
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
398
+ "reasoning_effort": Literal["none", "low", "medium", "high"],
399
+ },
400
+ total=False,
401
+ )
402
+ setattr(Gpt_5_6_SolParams, "__pydantic_config__", _PARAMS_CONFIG)
403
+
404
+ Gpt_5_6_Sol_SubscriptionParams = TypedDict(
405
+ "Gpt_5_6_Sol_SubscriptionParams",
406
+ {
407
+ "reasoning.effort": Literal["none", "low", "medium", "high", "xhigh", "max"],
408
+ "reasoning.summary": Literal["auto", "concise", "detailed"],
409
+ "text.verbosity": Literal["low", "medium", "high"],
410
+ },
411
+ total=False,
412
+ )
413
+ setattr(Gpt_5_6_Sol_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
414
+
415
+ Gpt_5_6_TerraParams = TypedDict(
416
+ "Gpt_5_6_TerraParams",
417
+ {
418
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
419
+ "reasoning_effort": Literal["none", "low", "medium", "high"],
420
+ },
421
+ total=False,
422
+ )
423
+ setattr(Gpt_5_6_TerraParams, "__pydantic_config__", _PARAMS_CONFIG)
424
+
425
+ Gpt_5_6_Terra_SubscriptionParams = TypedDict(
426
+ "Gpt_5_6_Terra_SubscriptionParams",
427
+ {
428
+ "reasoning.effort": Literal["none", "low", "medium", "high", "xhigh", "max"],
429
+ "reasoning.summary": Literal["auto", "concise", "detailed"],
430
+ "text.verbosity": Literal["low", "medium", "high"],
431
+ },
432
+ total=False,
433
+ )
434
+ setattr(Gpt_5_6_Terra_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
435
+
436
+ Gpt_Oss_120bParams = TypedDict(
437
+ "Gpt_Oss_120bParams",
438
+ {
439
+ "max_completion_tokens": Annotated[int, Field(ge=1, le=131072)],
440
+ "temperature": float,
441
+ "top_p": Annotated[float, Field(ge=0, le=1)],
442
+ "reasoning_effort": Literal["low", "medium", "high"],
443
+ "response_format.type": Literal["text", "json_schema"],
444
+ "tool_choice": Literal["auto", "none", "required"],
445
+ },
446
+ total=False,
447
+ )
448
+ setattr(Gpt_Oss_120bParams, "__pydantic_config__", _PARAMS_CONFIG)
449
+
450
+ Gpt_Oss_20bParams = TypedDict(
451
+ "Gpt_Oss_20bParams",
452
+ {
453
+ "max_completion_tokens": Annotated[int, Field(ge=1, le=131072)],
454
+ "temperature": float,
455
+ "top_p": Annotated[float, Field(ge=0, le=1)],
456
+ "reasoning_effort": Literal["low", "medium", "high"],
457
+ "response_format.type": Literal["text", "json_schema"],
458
+ "tool_choice": Literal["auto", "none", "required"],
459
+ },
460
+ total=False,
461
+ )
462
+ setattr(Gpt_Oss_20bParams, "__pydantic_config__", _PARAMS_CONFIG)
463
+
464
+ Gpt_Oss_Safeguard_120bParams = TypedDict(
465
+ "Gpt_Oss_Safeguard_120bParams",
466
+ {
467
+ "max_completion_tokens": Annotated[int, Field(ge=1, le=131072)],
468
+ "temperature": float,
469
+ "top_p": Annotated[float, Field(ge=0, le=1)],
470
+ "reasoning_effort": Literal["low", "medium", "high"],
471
+ },
472
+ total=False,
473
+ )
474
+ setattr(Gpt_Oss_Safeguard_120bParams, "__pydantic_config__", _PARAMS_CONFIG)
475
+
476
+ Gpt_Oss_Safeguard_20bParams = TypedDict(
477
+ "Gpt_Oss_Safeguard_20bParams",
478
+ {
479
+ "max_completion_tokens": Annotated[int, Field(ge=1, le=131072)],
480
+ "temperature": float,
481
+ "top_p": Annotated[float, Field(ge=0, le=1)],
482
+ "reasoning_effort": Literal["low", "medium", "high"],
483
+ },
484
+ total=False,
485
+ )
486
+ setattr(Gpt_Oss_Safeguard_20bParams, "__pydantic_config__", _PARAMS_CONFIG)
487
+
488
+ O1Params = TypedDict(
489
+ "O1Params",
490
+ {
491
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
492
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
493
+ },
494
+ total=False,
495
+ )
496
+ setattr(O1Params, "__pydantic_config__", _PARAMS_CONFIG)
497
+
498
+ O1_MiniParams = TypedDict(
499
+ "O1_MiniParams",
500
+ {
501
+ "max_tokens": Annotated[int, Field(ge=1)],
502
+ "reasoning_effort": Literal["minimal", "low", "medium", "high"],
503
+ },
504
+ total=False,
505
+ )
506
+ setattr(O1_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
507
+
508
+ O1_PreviewParams = TypedDict(
509
+ "O1_PreviewParams",
510
+ {
511
+ "max_tokens": Annotated[int, Field(ge=1)],
512
+ "reasoning_effort": Literal["minimal", "low", "medium", "high"],
513
+ },
514
+ total=False,
515
+ )
516
+ setattr(O1_PreviewParams, "__pydantic_config__", _PARAMS_CONFIG)
517
+
518
+ O3Params = TypedDict(
519
+ "O3Params",
520
+ {
521
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
522
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
523
+ },
524
+ total=False,
525
+ )
526
+ setattr(O3Params, "__pydantic_config__", _PARAMS_CONFIG)
527
+
528
+ O3_MiniParams = TypedDict(
529
+ "O3_MiniParams",
530
+ {
531
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
532
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
533
+ },
534
+ total=False,
535
+ )
536
+ setattr(O3_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
537
+
538
+ O3_ProParams = TypedDict(
539
+ "O3_ProParams",
540
+ {
541
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
542
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
543
+ },
544
+ total=False,
545
+ )
546
+ setattr(O3_ProParams, "__pydantic_config__", _PARAMS_CONFIG)
547
+
548
+ O4_MiniParams = TypedDict(
549
+ "O4_MiniParams",
550
+ {
551
+ "max_completion_tokens": Annotated[int, Field(ge=16)],
552
+ "reasoning_effort": Literal["low", "medium", "high", "xhigh"],
553
+ },
554
+ total=False,
555
+ )
556
+ setattr(O4_MiniParams, "__pydantic_config__", _PARAMS_CONFIG)
557
+
558
+ __all__ = [
559
+ "Chatgpt_4o_LatestParams",
560
+ "Gpt_3_5_TurboParams",
561
+ "Gpt_4_TurboParams",
562
+ "Gpt_4_Turbo_2024_04_09Params",
563
+ "Gpt_4_1Params",
564
+ "Gpt_4_1_MiniParams",
565
+ "Gpt_4_1_NanoParams",
566
+ "Gpt_4oParams",
567
+ "Gpt_4o_2024_11_20Params",
568
+ "Gpt_4o_MiniParams",
569
+ "Gpt_5Params",
570
+ "Gpt_5_Chat_LatestParams",
571
+ "Gpt_5_MiniParams",
572
+ "Gpt_5_NanoParams",
573
+ "Gpt_5_1Params",
574
+ "Gpt_5_1_Codex_Max_SubscriptionParams",
575
+ "Gpt_5_1_Codex_SubscriptionParams",
576
+ "Gpt_5_2Params",
577
+ "Gpt_5_2_Codex_SubscriptionParams",
578
+ "Gpt_5_2_SubscriptionParams",
579
+ "Gpt_5_3_CodexParams",
580
+ "Gpt_5_3_Codex_Spark_SubscriptionParams",
581
+ "Gpt_5_3_Codex_SubscriptionParams",
582
+ "Gpt_5_4Params",
583
+ "Gpt_5_4_MiniParams",
584
+ "Gpt_5_4_Mini_SubscriptionParams",
585
+ "Gpt_5_4_NanoParams",
586
+ "Gpt_5_4_ProParams",
587
+ "Gpt_5_4_Pro_SubscriptionParams",
588
+ "Gpt_5_4_SubscriptionParams",
589
+ "Gpt_5_5Params",
590
+ "Gpt_5_5_ProParams",
591
+ "Gpt_5_5_Pro_SubscriptionParams",
592
+ "Gpt_5_5_SubscriptionParams",
593
+ "Gpt_5_6_LunaParams",
594
+ "Gpt_5_6_Luna_SubscriptionParams",
595
+ "Gpt_5_6_SolParams",
596
+ "Gpt_5_6_Sol_SubscriptionParams",
597
+ "Gpt_5_6_TerraParams",
598
+ "Gpt_5_6_Terra_SubscriptionParams",
599
+ "Gpt_Oss_120bParams",
600
+ "Gpt_Oss_20bParams",
601
+ "Gpt_Oss_Safeguard_120bParams",
602
+ "Gpt_Oss_Safeguard_20bParams",
603
+ "O1Params",
604
+ "O1_MiniParams",
605
+ "O1_PreviewParams",
606
+ "O3Params",
607
+ "O3_MiniParams",
608
+ "O3_ProParams",
609
+ "O4_MiniParams",
610
+ ]