Open mzurhorst opened 1 month ago
Hey there @balloob, mind taking a look at this issue as it has been labeled with an integration (openai_conversation
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
openai_conversation documentation openai_conversation source (message by IssueLinks)
i am also not able to run any queries on openai conversation assist commands
Any update here? This is broken for me
The problem
Hi. I have created an API key for OpenAI. When adding the "OpenAI Conversation" integration and pasting the API key into the field, it leads to a message "unknown error occured" inside the dialog.
The log file shows me this error related to the OpenAI Conversation integration:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/openai_conversation/config_flow.py", line 85, in async_step_user await validate_input(self.hass, user_input) File "/usr/src/homeassistant/homeassistant/components/openai_conversation/config_flow.py", line 64, in validate_input client = openai.AsyncOpenAI(api_key=data[CONF_API_KEY]) ^^^^^^^^^^^^^^^^^^ AttributeError: module 'openai' has no attribute 'AsyncOpenAI'
What version of Home Assistant Core has the issue?
core-2024.10.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
OpenAI Conversation
Link to integration documentation on our website
https://www.home-assistant.io/integrations/openai_conversation/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response