I've been using my Voice PE device for a few weeks now and suddenly started getting this error a few days ago.
If I issue any request that HA needs to send to OpenAI I get the error shown below but if I issue that exact same request through the Assist chat window everything works OK.
Here's the full text of the error:
Error talking to OpenAI: Error code: 400 - {'error': {'message': "Invalid 'tools': array too long. Expected an array with maximum length 128, but got an array with length 129 instead.", 'type': 'invalid_request_error', 'param': 'tools', 'code': 'array_above_max_length'}}
I'm not sure what the "tools" array is. I've had more than 600 entities exposed to Assist all along so it's not like I'm anywhere near some 128 array limit. I'm assuming that the error is talking about some other array that's unique to voice.