diff --git a/frontend/src/components/LLMSelection/AzureAiOptions/index.jsx b/frontend/src/components/LLMSelection/AzureAiOptions/index.jsx index 0274175beeb..2bd2c2d5377 100644 --- a/frontend/src/components/LLMSelection/AzureAiOptions/index.jsx +++ b/frontend/src/components/LLMSelection/AzureAiOptions/index.jsx @@ -67,8 +67,10 @@ export default function AzureAiOptions({ settings }) { + + diff --git a/server/utils/AiProviders/modelMap.js b/server/utils/AiProviders/modelMap.js index 5482fcbd3dd..a80400c30b4 100644 --- a/server/utils/AiProviders/modelMap.js +++ b/server/utils/AiProviders/modelMap.js @@ -89,10 +89,22 @@ const MODEL_MAP = { "gpt-4-turbo-preview": 128000, "gpt-4": 8192, "gpt-4-32k": 32000, + "gpt-4.1": 1047576, + "gpt-4.1-2025-04-14": 1047576, + "gpt-4.1-mini": 1047576, + "gpt-4.1-mini-2025-04-14": 1047576, + "gpt-4.1-nano": 1047576, + "gpt-4.1-nano-2025-04-14": 1047576, + "gpt-4.5-preview": 128000, + "gpt-4.5-preview-2025-02-27": 128000, "o1-preview": 128000, "o1-preview-2024-09-12": 128000, "o1-mini": 128000, "o1-mini-2024-09-12": 128000, + o1: 200000, + "o1-2024-12-17": 200000, + "o1-pro": 200000, + "o1-pro-2025-03-19": 200000, "o3-mini": 200000, "o3-mini-2025-01-31": 200000, },