Hi community,
I’m encountering an issue when trying to call the o1 models enabled in Tier 1 or the realtime API, it does not allow me to make calls. All other available models work perfectly fine when called, but whenever I try to interact with o1 or realtime, I get the following error message:
{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
I’ve ensured that my API key is correctly configured, and I can confirm that the other models (e.g., gpt-4, gpt-3.5) work without any issues from Unity. This problem seems to occur exclusively with the o1-preview and realtime models.
Has anyone else encountered this issue when using Unity or knows how to resolve it? Any help or suggestions would be greatly appreciated.
Thanks in advance!