devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
340 stars 39 forks source link

Global chat history lost after VS Code restart #321

Open basicthinker opened 4 months ago

basicthinker commented 4 months ago

Describe the bug Restarted my VS Code and found the chat history is lost.

To Reproduce Steps to reproduce the behavior:

  1. Start VS Code but do not open any project.
  2. rm ~/.chat/prompts.* for a clean history.
  3. Chat on DevChat, with one or more rounds.
  4. Restart VS Code.

Expected behavior

Previous topics and chat history should not disappear.

Screenshots

image

We can see that prompts.* do have content but nothing is shown in the topic view.

Desktop (please complete the following information):

Note: This issue does not apply to project-local chat history. See below for example. It works.

image
basicthinker commented 4 months ago

@pplam can you check if this issue exists for JetBrains?

pplam commented 4 months ago

@pplam can you check if this issue exists for JetBrains?

No, this issue does not occur in IntelliJ.