Skip to content

[BUG] Azure.AI.Inference.AzureAIInferenceClientOptions ServiceVersion needs support for 2024-12-01-preview for O1 and O3-mini models #51456

@MarsonShine

Description

@MarsonShine

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

  1. Create an instance of AzureAIInferenceClientOptions
  2. Attempt to use O1 or O3-mini models with the client
  3. Observe the error message indicating that these models require API version 2024-12-01-preview or later
  4. Check the ServiceVersion enumeration and note that only V2024_05_01_Preview is available

Environment

Azure AI Inference SDK for .NET 1.0.0-beta.5
Azure AI services
.NET9

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI Model InferenceClientThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions