[GH-ISSUE #3340] [FEAT]: Add support for 2024-12-01-preview and 2025-01-01-preview API versions for AOAI #2150

Closed
opened 2026-02-22 18:28:21 -05:00 by yindo · 2 comments
Owner

Originally created by @jalfrey on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3340

What would you like to see?

Added support for the latest API versions for Azure OpenAI, 2024-12-01-preview and 2025-01-01-preview. The specifics for which are detailed here: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure.

Rationale:

The latest reasoning models are only supported under the two previous API specifications, namely the o3 and o1 variations.

Originally created by @jalfrey on GitHub (Feb 24, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3340 ### What would you like to see? Added support for the latest API versions for Azure OpenAI, 2024-12-01-preview and 2025-01-01-preview. The specifics for which are detailed here: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure. ### Rationale: The latest reasoning models are only supported under the two previous API specifications, namely the o3 and o1 variations.
yindo added the enhancementfeature request labels 2026-02-22 18:28:21 -05:00
yindo closed this issue 2026-02-22 18:28:21 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 25, 2025):

The api version is currently pinned to 2024-12-01-preview:
https://github.com/Mintplex-Labs/anything-llm/blob/c36df2c36462412294c8a49975eedf20a9e79f0b/server/utils/AiProviders/azureOpenAi/index.js#L24

Which according to that table, is not backward compatible??? That is such a wild choice to have this be the way the API is supported and will be a huge pain. We will have to just support some selection to define this since it apparently changes per version and is specific to that endpoint's functionality.

@timothycarambat commented on GitHub (Feb 25, 2025): The api version is currently pinned to `2024-12-01-preview`: https://github.com/Mintplex-Labs/anything-llm/blob/c36df2c36462412294c8a49975eedf20a9e79f0b/server/utils/AiProviders/azureOpenAi/index.js#L24 Which according to that table, is _not backward compatible_??? That is such a wild choice to have this be the way the API is supported and will be a huge pain. We will have to just support some selection to define this since it apparently changes per version and is specific to that endpoint's functionality.
Author
Owner

@diego2glez commented on GitHub (Nov 27, 2025):

Any update on this? I don't understand why the api version is hardcoded

@diego2glez commented on GitHub (Nov 27, 2025): Any update on this? I don't understand why the api version is hardcoded
yindo changed title from [FEAT]: Add support for 2024-12-01-preview and 2025-01-01-preview API versions for AOAI to [GH-ISSUE #3340] [FEAT]: Add support for 2024-12-01-preview and 2025-01-01-preview API versions for AOAI 2026-06-05 14:44:51 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2150