Error: 500 The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID req_XXXXX in your email.)
GPT 3.5 and 4.0 work fine
openai.chat.completions.create({
model: "gpt-4-turbo",
messages: [
{
role: "user",
content: [
{ type: "text", text: userMessage },
{
type: "image_url",
image_url: {
"url": "data:image/jpeg;base64,"+image64,
},
}
],
},
],
});