400 model_error Sweden Central

Grossmann, Tobias
11
Reputation points
I get the following error:
Error processing request: Request failed: 400 model_error
With O1 and O3 mini models deployed to sweden central.
let apiversion = "2024-12-01-preview"
let response = await fetch(`${endpoint}/openai/deployments/${deploymentName}/chat/completions?api-version=${apiversion}`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"api-key": azureApiKey,
},
body: JSON.stringify({
messages: commands,
...options
})
});
Sign in to answer