Gemini-2.0-flash-exp always shows up despite being unchecked in the list

gemini-2.0-flash-exp is unchecked, and yet it always shows up in the chat, meaning it’s probably also part of “auto mode”.

How is this possible? It doesn’t seem to happen with any other model. How to fix this?
It’s v0.48.7 in Windows 10.

4 Likes

Maybe you know, @deanrie?

Thanks for the report. I’ll share it with our team.

2 Likes

I’m experiencing the same issue. Logging out and back in hasn’t helped. Is there a way to refresh or reset the model list?

It seems to be connected to the recent renaming from “gemini-2.0-flash-exp” to “gemini-2.0-flash”. For users who were using the old model during the update, the entry still appears in the menu, even after it’s been unchecked or removed.

I also tried manually creating and then deleting a model with the name “gemini-2.0-flash-exp”, but that didn’t solve the problem either.

I’m currently on version 0.48.8.
Any advice or suggestions would be appreciated!

1 Like

I have the same problem, can’t these developers solve this simple problem?

1 Like

The issue I reported remains unresolved to this day, and I haven’t even received any response from you.

I still see it too, how to clear the cache?
You’ve previous mentioned clearing cache in How to clear Cursor cache, recently found that Cursor is getting more and more stuck to use
But it has no less than 7 methods whereas only #1 is official, but it didn’t help.
Should we try all 7 methods or can you be more specific?
Thanks!

image

I tried all and it did not work, only broke the whole installation. I ended up doing reinstall. I suggest you do too. Record video or something of your cursor settings, save settings.json, keybinds json, installed extensions names or something like that and then just install all again, takes around 30 minutes. Lets hope we dont meet same issue again in the future.

Yes, unfortunately, clearing the cache doesn’t solve the problem. You have two options. The first is a complete reinstallation of Cursor and its reconfiguration. The second method involves editing the Cursor database.

To do this, go to the folder:

Windows: %APPDATA%\Cursor\User\globalStorage
macOS: ~/Library/Application Support/Cursor/User/globalStorage
Linux: ~/.config/Cursor/User/globalStorage

Find the file state.vscdb, copy it to another location (also keep a backup copy in case something goes wrong), and install an extension for editing SQLite, like this one:

Choose to open with SQLite3 Editor, select the necessary table ItemTable (using the blue selector at the top), click on search, and enter gemini-2.0-flash-thinking-exp.

You’ll find a row like the one in my screenshot. You can try deleting all entries where this model is mentioned, or you can completely delete this line.

Then replace the original file with the edited one and launch Cursor. You will need to re-enable several models in Cursor settings.

That’s it.

So is this specific model a virus? :exploding_head:

  1. What about the fact that there are 3 files called state.vscdb?
  2. How do we know it won’t happen again?

I believe this happened when the model was listed and then disappeared, but its record remained.

You need to select the one located in globalStorage.

Thanks! Here’s how I’ve ended up doing it:

  1. Kept a backup of the main state.vscdb (just duplicated it and it automatically got the word “copy” in it)
  2. Downloaded SQLiteStudio, since it’s a standalone program with a portable mode.
  3. Opened ItemTable
  4. Went to Data
  5. Filtered just gemini-2.0
  6. Found the 1 entry your screenshot showed
  7. Edited it and removedgemini-2.0-flash-thinking-exp from:
  "aiSettings": {
    "**modelOverrideEnabled**": [
      ...,
      "gemini-2.0-flash-thinking-exp",
      ...,
    ],
  }

Then right clicked the aforementioned entry, clicked Commit and just exited the program (and deleted the copy).

The “virus” is gone now! :tada: :partying_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.