jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
829 stars 108 forks source link

"Unexpected exception" error during integration suggests a problem with the OpenAI server URL #214

Open bigoovip opened 1 month ago

bigoovip commented 1 month ago

When adding the integrated base URL for compatibility with OpenAI, I always encounter an "Unexpected exception" error. I noticed in the logs that the request to the interface was made through "GET /v1/models", but the interface I am using is /v1/chat/completions. Is it possible to consider adding this interface for OpenAI compatibility?