Steps to reproduce:
Set up a Chat Completion API request with the following payload:
{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"user": "foo",
"content": [
{
"type": "text",
"text": "What’s in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://images.ctfassets.net/kftzwdyauwt9/1ZTOGp7opuUflFmI2CsATh/df5da4be74f62c70d35e2f5518bf2660/ChatGPT_Carousel1.png",
"detail": "high"
}
}
]
}
],
"max_tokens": 300
}
When executed, this request will return a error 500.
This error only occours when the parameter user is set.
Bonus problem: the example on this page for nodejs: https://platform.openai.com/docs/guides/vision?lang=node has a typo, there is an extra " at "detail": "low"