File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ class LLMModel(BaseModel):
82
82
83
83
class LLMModels (str , Enum ):
84
84
# OpenAI Models
85
+ O1_PRO = "openai/o1-pro"
85
86
O3_MINI = "openai/o3-mini"
86
87
O3_MINI_2025_01_31 = "openai/o3-mini-2025-01-31"
87
88
GPT_4O_MINI = "openai/gpt-4o-mini"
@@ -205,6 +206,18 @@ def get_model_info(cls, model_id: str) -> LLMModel | None:
205
206
supports_temperature = False ,
206
207
).add_mime_categories ({MimeCategory .IMAGES }),
207
208
),
209
+ cls .O1_PRO .value : LLMModel (
210
+ id = cls .O1_PRO .value ,
211
+ provider = LLMProvider .OPENAI ,
212
+ name = "O1 Pro" ,
213
+ constraints = ModelConstraints (
214
+ max_tokens = 100000 ,
215
+ max_temperature = 2.0 ,
216
+ supports_max_tokens = False ,
217
+ supports_temperature = False ,
218
+ supports_JSON_output = True ,
219
+ ).add_mime_categories ({MimeCategory .IMAGES }),
220
+ ),
208
221
cls .O1_2024_12_17 .value : LLMModel (
209
222
id = cls .O1_2024_12_17 .value ,
210
223
provider = LLMProvider .OPENAI ,
You can’t perform that action at this time.
0 commit comments