semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

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

Open tvriesde opened this issue 6 months ago • 1 comments

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 <PackageReference Include="Microsoft.SemanticKernel" Version="1.28.0" />
  • AI model: o4-mini
  • OS: Windows

tvriesde avatar Jul 24 '25 11:07 tvriesde

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 28 '25 02:10 github-actions[bot]