"Model doesnt support images" even with no image attached

This happens on all O OpenAI models

Whenever I ask Cursor to move an image element or mention any image or when the context is an image it stops me from using the model for some reason

Now I cant even use the Pro models because of the bug

Image here

Hey, is this happening in new sessions too? FYI o1-mini and o1-preview do not support images.

The issue is that it errors out even without any image inputted, the project has some images in a folder but thats it. I suspect its Cursor automatically feeding the models images even when I dont

I just checked on my end, and I don’t have this issue. Try restarting Cursor or creating a new session if you haven’t already. You can also try excluding folders with your images using a .cursorignore file.

A new session fixed it weird bug tho

It still happens even on the new session I submit 1 image on the 4o model and then switch to o1 or o it breaks

This happens because the chat stores the previous context in the cache. To avoid this, you can either use a model that supports vision or go to previous requests, click on edit message, and remove the image from the context.