BUG: Stored Chat Completions not showing in Dashboard when sending type "image_url" messages

Hey.

I’m currently trying to eval my chat completions, but they are not showing up in the Backend Dashboard. After further testing, I could reproduce the Issue with 2 simple commands:

Without Images:

curl 'https://api.openai.com/v1/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: ••••••' \
-d '{
    "model": "gpt-4o",
    "store": true,
    "messages": [
        {
            "role": "developer",
            "content": "You are a helpful assistant."
        },
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "say hello"
                }
            ]
        }
    ]
}'

This example WILL show up in the dashboard instantly. But when sending the same request with an image, it doesn’t show up:

curl 'https://api.openai.com/v1/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: ••••••' \
-d '{
    "model": "gpt-4o",
    "store": true,
    "messages": [
        {
            "role": "developer",
            "content": "You are a helpful assistant."
        },
        {
            "role": "user",
            "content": [
                {
                    "type": "image_url",
                    "image_url": {
                        "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
                    }
                }
            ]
        }
    ]
}'
1 Like