sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.3k stars 219 forks source link

bug: Chat history disappears when switching accounts #4568

Closed ce94 closed 1 month ago

ce94 commented 1 month ago

Version

1.20.3

Describe the bug

When I switched my Cody Sourcegraph account in VSCode and then switched back to my old account, my chat history was gone.

Expected behavior

My chat history should remain accessible when switching between accounts.

Additional context

Is there any way to recover the history if it is stored locally? You can download the chat history, but even if you downloaded it right before it disappeared, how can you reload it into the extension?

ce94 commented 1 month ago

Switching accounts again made them reappear - don't know why