Skip to content

.Net: Bug: Service version 2024-12-01-preview is not supported when connecting to o4-mini #12784

@tvriesde

Description

@tvriesde

Describe the bug
Can't connect to my o4-mini model deployment. Tried with and without apiVersion parameter. Code works properly when I change to my gpt-4o model deployment.

Image

Error:

Image

Model deployment details from Foundry. Which displays the supported apiVersion in the screenshot of the code sample to the right.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Create o4-mini model deployment
  2. Create Kernel
  3. With or without apiVersion specification

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform

  • Language
  • AI model: o4-mini
  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codebugSomething isn't workingtriage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions