smallcloudai / refact-vscode

Refact AI: Open-source AI Code assistant with autocompletion, chat, refactoring and more for VS Code
https://refact.ai
BSD 3-Clause "New" or "Revised" License
59 stars 19 forks source link

Shared chat lib invalidate stats cache #103

Closed MarcMcIntosh closed 4 months ago

MarcMcIntosh commented 4 months ago

Works with: https://github.com/smallcloudai/refact-chat-js/pull/7

Uses a hash made from the editors session and the api key to validate the statistics data cache. This means that changing the api-key or restarting the editor will invalidate the statistics data