Historical context - I am a developer, and I do quite a bit of my HA config/setup work in VSCode via SSH into my Raspberry Pi 5 - though I am only a little proficient in YAML/Jinja.
I got a HA Voice Preview two days ago, set it up according to instructions, and wired up ChatGPT as the preferred assistant (well, “Assistant 1”…apparently you set it with two?). Everything was working pretty well - responses were pretty slow, but traces looked clean and logs were happy. I was getting clean logic, voice activation of scripts/devices/automations, and the whole process felt conversational.
As of the following morning, every voice prompt gets “Error talking to OpenAI” with the exception of when I said only “Hello” and got some “Hello from Home Assistant” type of response. I’ve done pretty much everything I can think of short of a factory reset, but I think this is something upstream. Here is the Log error:
* Error talking to OpenAI: Error code: 400 - {'error': {'message': "Invalid schema for function 'HassStartTimer': schema must have type 'object' and not have 'oneOf'/'anyOf'/'allOf'/'enum'/'not' at the top level.", 'type': 'invalid_request_error', 'param': 'tools[2].parameters', 'code': 'invalid_function_parameters'}}
* Error talking to OpenAI: Request timed out.
I can also provide raw trace data if if helps but, according to that trace data, and even when trying multiple different STT tools, it is accurately capturing and translating what I am saying.
Also worth noting…
- I DO have an OpenAI account, API key, $30 deposited, and even a verified organization after seeing that people were having issues with THAT. Issue persists.
- At one point, it appeared as though my previous deposit of $30 a few weeks ago had been fully used via unrelated prompts and voice things (different devices/automations/etc). I thought THAT might be the culprit, so I deposited another $30 and set auto-reload. With a ton of automations and running a ton of tests, I can barely hit $0.10/day. Issue persists.
- I can’t find any instance of
HassStartTimeranywhere in the project including in hidden dirs/files (per the error log above) - Nothing really happened between when it worked and then didn’t except for a night of sleep. I may have restarted at one point, but that’s it.
- I haven’t tried a factory reset, but that seems pretty irrelevant.
- No significant or relevant errors or warnings on restart, boot, or running the majority of functions and automations