Closed
Description
Describe the bug
When making an await kernel.invoke(function=function, arguments=variables)
call against the o1
& o3-mini
models using the Azure OpenAI service, the following error is returned:
Model {modelName} is enabled only for api versions 2024-12-01-preview and later
We have other gpt models deployed in the AOAI service, all others are working well without any issue.
To Reproduce
Steps to reproduce the behavior:
- Create a kernel chat completion service targeting
o1
as the deployment model - Create an agent with instructions, temperature, and structured output
- Call
kernel.invoke()
Expected behavior
Response should be received without throwing this error.
Screenshots
N/A
Platform
- Language: Python
- Source:
semantic-kernel==1.31.0
- AI model:
o1:2024-12-17
&o3-mini:2025-01-31
- IDE: VS Code
- OS: Windows
Metadata
Metadata
Assignees
Type
Projects
Status
No status