mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-20 22:41:23 -04:00
Add O3 mini model (#1612)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@llamaindex/openai": patch
|
||||
---
|
||||
|
||||
Add O3 mini model
|
||||
@@ -106,6 +106,15 @@ export const O1_MODELS = {
|
||||
},
|
||||
};
|
||||
|
||||
export const O3_MODELS = {
|
||||
"o3-mini": {
|
||||
contextWindow: 200000,
|
||||
},
|
||||
"o3-mini-2025-01-31": {
|
||||
contextWindow: 200000,
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* We currently support GPT-3.5 and GPT-4 models
|
||||
*/
|
||||
@@ -113,6 +122,7 @@ export const ALL_AVAILABLE_OPENAI_MODELS = {
|
||||
...GPT4_MODELS,
|
||||
...GPT35_MODELS,
|
||||
...O1_MODELS,
|
||||
...O3_MODELS,
|
||||
} satisfies Record<ChatModel, { contextWindow: number }>;
|
||||
|
||||
export function isFunctionCallingModel(llm: LLM): llm is OpenAI {
|
||||
|
||||
Reference in New Issue
Block a user