I have tried restarted Cursor several times.And even reinstall Cursor. It stills doesn’t work. Also, it is weird that when I restart Cursor, API keys which I have cleaned comes back. And I don’t know how to save the setting…
I suspect that this error occurred due to a previously used API key, and somehow, even though the API keys are inactive, Cursor seems to recognize them as active. You can try reinstalling Cursor to see if that fixes the issue. You need to delete one folder. You can also just rename it. A new one will be created upon reinstallation, and if needed, you can restore the folder to bring back your previous Cursor settings.
hi @Kirai could you try if creating a new project shows Auto for you?
If that works, then you would not need to clear all settings. Renaming the project folder ask mentioned by previous post could solve that on your project. Note that renaming project clears Chat history, but you can export chats or use SpecStory Extension.
In case that does not work you may need to clear settings.
Hello, if you mean creating a new directory and opening a new Cursor instance in it, then no, sadly it still doesn’t show Auto mode.
Also, check if you might have an API key enabled. When any API key provider is enabled, the auto mode option disappears.
I checked many times, even tried filling some random strings, enabling, disabling and restart Cursor (closed all Cursor instances), it doesn’t seem to change anything .
I have a solution that does not affect IDE settings and extensions. You will need an SQLITE reader - open the file ~/.config/Cursor/User/globalStorage/state.vscdb
In the ItemTable table, find the row with the key: src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser
select * from ItemTable where key = 'src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser';
However, when I was looking for a solution to the problem, I used the query:
select * from ItemTable where value like '%gpt%';
The value column contains a JSON with settings, including the aiSettings object, which I deleted. After that, in my Cursor, the model mode was set to Auto, and the default models were selected in the settings. It seems that my other settings were not affected, and that completely suits me.
I hope this will be useful to other users, as well as to developers who may take this into account in future versions.
This looked so promising. Tried it, and nothing changed? I thought my AI settings (in Models tab in cursor settings) would get reset, but I still see o3-mini and K2 which I think are not on by default. Either I messed up something in editing it, or it is some different file on my install?
I can’t reproduce the problem right now - auto mode doesn’t disappear, but I change the standard model selection, close Cursor, delete aiSettings section, launch Cursor, and the section is restored at the end of the JSON object. That’s how it looks to me: