-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 400 with OpenAI Integration in Home Assistant #119015
Comments
Hey there @balloob, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) openai_conversation documentation |
I'm getting a very similar message but a different array index;
|
Do you have any custom intents registered? |
I did, now I don't and it works - thank you. |
So you can have custom intents registered but you need to not use spaces or special or non Latin characters |
The problem
I am experiencing an issue with the OpenAI integration in Home Assistant. When I try to use the Assist feature, I receive the following error:
Sorry, I had a problem talking to OpenAI: Error code: 400 - {'error': {'message': "Invalid 'tools[7].function.name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.", 'type': 'invalid_request_error', 'param': 'tools[7].function.name', 'code': 'invalid_value'}}
Steps to Reproduce:
What version of Home Assistant Core has the issue?
core-2024.6.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Open Ai Conversation
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: