Apparently, using Azure OpenAI with 01-preview model is not possible either because of the hardcoded old api-version=2023-03-15-preview or temperature, top_p and other non supported parameters.
When I switch my Azure OpenAI from working gpt-4o model to o1-preview I get “invalid credentials” but in the “Network” tab of Developer Tools I can see it’s actually Bad Request 400:
Ms-Azureml-Model-Error-Reason: model_error
Ms-Azureml-Model-Error-Statuscode: 400
Strict-Transport-Security: max-age=31536000;
includeSubDomains; preload
X-Content-Type-Options: nosniff
X-Envoy-Upstream-Service-Time: 130
X-Ms-Rai-Invoked: true
X-Ms-Region: East US
X-Ratelimit-Remaining-Requests: 499
X-Ratelimit-Remaining-Tokens: 2999990