In this case, I'm not streaming a response (but it appears that openrouter is behind the scenes maybe?) because I'm getting the below error ... is there a workaround in the meantime? to force openrouter to not stream the proxied request?
{
"model": "qwen/qwen2.5-32b-instruct",
"messages": [
{
"role": "system",
"content": "Respond ONLY with JSON."
},
{
"role": "user",
"content": "writeBlogPost({\"about\":\"EPCIS 2.0\"})"
}
],
"response_format": {
"type": "json_object"
},
"seed": 3
}
getting this response
{
"error": {
"message": "Provider returned error",
"code": 400,
"metadata": {
"raw": "{\"error\":{\"message\":\"response_format` does not support streaming\",\"type\":\"invalid_request_error\"}}\n",
"provider_name": "Groq"
}
}
}