carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
988 stars 206 forks source link

Personas can't be displayed or modified #686

Open CharlesFromBytel opened 1 week ago

CharlesFromBytel commented 1 week ago

What happened?

In the settings, the Personas can't be displayed, keep Loading… The other settings are fine.

Relevant log output or stack trace

Nothing in the log.

Steps to reproduce

I don't know since when it happened. Initially, when I started using the plugin two weeks ago, I deleted all the personas (if I remember right) to only keep one. I was about to modify that one persona when I stumble upon the ever-loading screen. Oddly, when I look in the chat window, my Default persona in the top part of the screen is still there. When I use the @ to list the personas, they seem to be all there too. image image image

CodeGPT version

2.11.0-241.1

Operating System

Windows

carlrobertoh commented 1 week ago

Thanks for reporting!

This seems like some sort of deserialization error where the modified record can no longer be recognized. As a workaround, you could try resetting the state by deleting the file CodeGPT_PersonaSettings.xml from the plugin's settings.

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

CharlesFromBytel commented 1 week ago

I deleted this file C:\Users\%USERPROFILE%\AppData\Roaming\JetBrains\IntelliJIdea2024.2\options\CodeGPT_PersonaSettings.xml and it solved my problem.