azure-openai-ha icon indicating copy to clipboard operation
azure-openai-ha copied to clipboard

Home assistant shows "Unexpected error" after I input my azure openai key

Open genoprdes opened this issue 1 year ago • 6 comments

This is great integration, and it's what exact I want! But I am facing "Unexpected error" after I input my azure openai key.

My HA version: Core 2024.4.2 Supervisor 2024.04.0 Operating System 12.1

And when I install this Integration, I input the information according the example as below:

image

It immediately shows Unexpected error, and I don't know what's wrong? I do not sure about the "API version", so just copy from the example, is this the problem?

genoprdes avatar Apr 13 '24 01:04 genoprdes

same here

giagar5 avatar Apr 20 '24 16:04 giagar5

same here +1 Has anyone been able to run this integration ?

zminde avatar May 16 '24 13:05 zminde

+1 here. hope to get fixed or having Azure OAI supported.

shaike1 avatar Jun 16 '24 08:06 shaike1

Same for me on 2024.6.4

vcdx71 avatar Jun 24 '24 20:06 vcdx71

Looking at the logs it seems this integration needs to be updated to use this now.

You tried to access openai.Model, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

vcdx71 avatar Jun 24 '24 21:06 vcdx71

Same here on 2024.6.4

Genex36 avatar Jun 28 '24 16:06 Genex36

Doesn't look like this is actively supported :(

supernitin avatar Oct 25 '24 17:10 supernitin

@genoprdes @giagar5 @Genex36 @vcdx71 @zminde @shaike1 @supernitin So sorry guys, unfortunately, due to personal reasons I was not able to maintain this repo, other priorities coming up. I would like to inform that it will be updated to support the latest HA 2025.1.0 in the following days 😊🥳

joselcaguilar avatar Jan 14 '25 15:01 joselcaguilar