According to the OpenAI API documentation at https://platform.openai.com/docs/api-reference/realtime-sessions/create, the tool_name parameter should be optional, but I’m receiving an error indicating it’s required.
Has anyone else encountered this issue, I know I could easily add the function name but it’s weird and undocumented.
see docs; https://platform.openai.com/docs/api-reference/realtime-sessions/create
getting this error on the realtime sessions endpoint:
{
“message”: “Missing required parameter: ‘tools[4].name’.”,
“type”: “invalid_request_error”,
“param”: “tools[4].name”,
“code”: “missing_required_parameter”
}