AI Losing Chats

Answered

Noticed that when Rubymine crashes ( as with the recent  os x java issue ) or as recently a low memory problem (which didn't actually crash ) one of the casualties is losing all the AI chat history. Just wiped.

Surely this should be written away somewhere such that it can't just disappear. Seems a too fragile. Just flagging it as an issue.

5
5 comments

The chat history should be stored in the IDE configuration directory/workspace, in .xml files.
Each file corresponds to a project that was opened in the IDE (1 project = 1 file). However, the file names are cryptic and don't correspond to the project name, unfortunately. The chat history is stored under <component name="ChatSessionStateTemp"> . Do you see any chat history in your IDE configuration directory? Which version of IDE / AI Assistant plugin do you have installed? 

2

I need my AI Chat history to be the same on my laptop and desktop, they both use the same login and the same (quite expensive) JetBrains AI Pro license - how do i do that please? (this is in PhpStorm, also using the same license on each machine)

0

I hope this issue can be prioritized. I had finished a long chat with the LLM, closed my laptop, opened it later, it failed to wake up and after rebooting, that chat – which I paid good money for – was gone. I checked in the IDE config dir and I found my earlier chat history in there, but the latest chat was not. Using Rider 2026.1.2, AI Assistant 261.24374.215.

Now I'm considering silly workarounds like copying and pasting the AI chat somewhere else periodically, or frequently quitting the IDE so it gets saved properly, etc. Not a good experience.

1

Last month I ran out of credits, bought some more and then ran out of them as well, this month the whole chat is gone - do I have to start again?

Glad it's not just me, I hope this can be improved, otherwise I'll have to stop the subscription.

0
Hello Jonny,

Thanks for your feedback. If you lost your chat history, there's a workaround you may try:
-Create a full backup of your current workspace directory.
-Clear the contents of the current workspace folder.
-Copy all `.xml` files from the previous workspace folder into the current workspace folder.

This approach has restored chat history in local testing; however, its potential side effects are currently unknown.

Also, if you need help reviewing your quota consumption, you may contact us at support here so that we can help you get more information here: https://intellij-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66731
0

Please sign in to leave a comment.