You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can use the plugin just fine, but after restarting my PyCharm, the plugin would lose my OpenAI token in the settings. I can adjust other settings just fine and they will stay saved, but the OpenAI token has to be entered on every new launch of PyCharm. Have tried reinstalling the plugin and it's the same issue.
The text was updated successfully, but these errors were encountered:
Have figured it out. I have no idea why this is related, but this definitely fixed my issue after I tested it on 2 different machines.
Firstly, exit PyCharm or whatever your Jetbrains IDE is.
Go to %Appdata%\JetBrains\PyCharmCE2023.1
Your PyCharm version might be different to mine, so just find the folder that matches your version. In my case, I'm using v2023.1.
Delete these 2 files:
Also delete the security.xml file under the options folder. All of those files correspond to this option here:
After that, start PyCharm and it should automatically create the 2 files in the screenshot. It may or may not create a security.xml file under options folder, but it doesn't matter. You're now able to save the OpenAI token again and it will retain after you restart PyCharm.
I can use the plugin just fine, but after restarting my PyCharm, the plugin would lose my OpenAI token in the settings. I can adjust other settings just fine and they will stay saved, but the OpenAI token has to be entered on every new launch of PyCharm. Have tried reinstalling the plugin and it's the same issue.
The text was updated successfully, but these errors were encountered: