Vision stopped working on assistant integration

I use an assistant with ChatGPT 4o 20240503 on ManyChat for my assistant on WhatsApp. Today the vision function simply stopped working correctly, without me changing the code during this period. Did OpenAI make any updates? I didn’t find anything like that. Can anyone help me solve this problem?

When the user sends me a photo, I make a POST request to …/v1/threads/THREADNUMBER/messages with the header:

OpenAI-Beta: assistants=v2
Content-Type: application/json
Authorization: Bearer {bot_gpt_api_key}

BODY:

{
“role”: “user”,
“content”: [
{
“type”: “text”,
“text”: “Analyze the image”
},
{
“type”: “image_url”,
“image_url”: {
“url”: “URLFROMIMAGE”,
“detail”: “high”
}
}
]
}

After this, I use another POST request to …/v1/threads/THREADNUMBER/runs with the same header. BODY:

{
“assistant_id”: “ID”
}

It was working perfectly…

3 Likes

Obs: the message received in whatsapp is “Analyze the image”, just like the code.

1 Like

Same, our assistants app stopped being able to upload images wiht no change from us and even testing in the playground shows something is going wrong with the API

1 Like

Same thing happened for me via run stream and via the UI. It’s been going on for the past 8 or so hours for me.

1 Like