#Started getting errors on OpenAI

1 messages · Page 1 of 1 (latest)

merry laurel
#
2026-01-19 17:00:08.564 ERROR (MainThread) [homeassistant.components.openai_conversation] 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[4].parameters', 'code': 'invalid_function_parameters'}}

I just asked it to turn on the main office light (which has to route through to OpenAI)

Any ideas?