-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Library name and version
Azure.AI.Inference
Describe the bug
The Azure.AI.Inference.AzureAIInferenceClientOptions
class currently only supports V2024_05_01_Preview
in its ServiceVersion
enumeration. However, newer models like O1 and O3-mini require API version 2024-12-01-preview
or later to function properly.
When attempting to use O1, O3-mini, and other newer models with the current SDK, the following error occurs:
Model xxx is enabled only for api versions 2024-12-01-preview and later
Expected behavior
The ServiceVersion
enumeration should include support for 2024-12-01-preview
(and potentially later versions) to enable compatibility with newer models like O1 and O3-mini. Developers should be able to use these newer AI models without encountering API version compatibility errors.
Actual behavior
When attempting to use O1, O3-mini, and other newer models, the following error occurs:
Model xxx is enabled only for api versions 2024-12-01-preview and later
This prevents developers from accessing the latest AI models through the Azure AI Inference SDK.
Reproduction Steps
- Create an instance of
AzureAIInferenceClientOptions
- Attempt to use O1 or O3-mini models with the client
- Observe the error message indicating that these models require API version 2024-12-01-preview or later
- Check the
ServiceVersion
enumeration and note that onlyV2024_05_01_Preview
is available
Environment
Azure AI Inference SDK for .NET 1.0.0-beta.5
Azure AI services
.NET9