core icon indicating copy to clipboard operation
core copied to clipboard

Open AI Converation "Unknown Error", Core Restart required to restore normal function

Open khammo01 opened this issue 1 year ago • 3 comments

The problem

conversation.process with openAI agent will fail with "unknown error" after around 1 day uptime. Restart HA (quick restart -YAML reload does the trick) is required to restore operation. Scripts and automations will abort with 'unknown error' - error trapping seems not possible.

What version of Home Assistant Core has the issue?

core-2024.7.1

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 agent

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openai_conversation/

Diagnostics information

No response

Example YAML snippet

service: conversation.process
data:
  text: >-
    You are a virtual home assistant voice assistant. Respond with ' Hello
    world' type message  to let your home occupants know you are working. 
  agent_id: conversation.chatgpt
response_variable: response

Anything in the logs that might be useful for us?

No response

Additional information

No response

khammo01 avatar Jul 11 '24 15:07 khammo01

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!

Code owner commands

Code owners of openai_conversation can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign openai_conversation Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


openai_conversation documentation openai_conversation source (message by IssueLinks)

home-assistant[bot] avatar Jul 11 '24 15:07 home-assistant[bot]

Can you take a look at the logs.

balloob avatar Jul 15 '24 08:07 balloob

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.