Error creating stream APICallError [AI_APICallError]: Provider returned error
....
statusCode: 400,
responseHeaders: {
'access-control-allow-origin': '*',
'cf-ray': '9920ece28e02ef15-LHR',
connection: 'keep-alive',
'content-type': 'application/json',
date: 'Tue, 21 Oct 2025 12:58:15 GMT',
'permissions-policy': 'payment=(self "https://checkout.stripe.com" "https://connect-js.stripe.com" "https://js.stripe.com" "https://*.js.stripe.com" "https://hooks.stripe.com")',
'referrer-policy': 'no-referrer, strict-origin-when-cross-origin',
server: 'cloudflare',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding',
'x-content-type-options': 'nosniff'
},
responseBody: `{"error":{"message":"Provider returned error","code":400,"metadata":{"raw":"{\\n \\"error\\": {\\n \\"message\\": \\"Invalid schema for response_format 'response': In context=('properties', 'reportSpec', 'anyOf', '0'), schema must have a 'type' key.\\",\\n \\"type\\": \\"invalid_request_error\\",\\n \\"param\\": \\"text.format.schema\\",\\n \\"code\\": \\"invalid_json_schema\\"\\n }\\n}","provider_name":"Azure"}},"user_id":"org_33gmDC7f0WklqSwAkMiC0Ewoul0"}`,
Error creating stream APICallError [AI_APICallError]: Provider returned error
....
statusCode: 400,
responseHeaders: {
'access-control-allow-origin': '*',
'cf-ray': '9920ece28e02ef15-LHR',
connection: 'keep-alive',
'content-type': 'application/json',
date: 'Tue, 21 Oct 2025 12:58:15 GMT',
'permissions-policy': 'payment=(self "https://checkout.stripe.com" "https://connect-js.stripe.com" "https://js.stripe.com" "https://*.js.stripe.com" "https://hooks.stripe.com")',
'referrer-policy': 'no-referrer, strict-origin-when-cross-origin',
server: 'cloudflare',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding',
'x-content-type-options': 'nosniff'
},
responseBody: `{"error":{"message":"Provider returned error","code":400,"metadata":{"raw":"{\\n \\"error\\": {\\n \\"message\\": \\"Invalid schema for response_format 'response': In context=('properties', 'reportSpec', 'anyOf', '0'), schema must have a 'type' key.\\",\\n \\"type\\": \\"invalid_request_error\\",\\n \\"param\\": \\"text.format.schema\\",\\n \\"code\\": \\"invalid_json_schema\\"\\n }\\n}","provider_name":"Azure"}},"user_id":"org_33gmDC7f0WklqSwAkMiC0Ewoul0"}`,