continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.25k stars 1.66k forks source link

Embeddings SQlite gets larger than entire repo #2807

Closed RomneyDa closed 1 week ago

RomneyDa commented 1 week ago

Before submitting your bug report

Relevant environment info

OS - Windows_NT x64 10.0.22631 (Windows 11 Home)
VSCode: 1.94.2 (user setup)
Continue: I think v0.8.55, I got this from checking the extension page. Not sure if it s showing currently instaleld or latest version

Description

https://discord.com/channels/1108621136150929458/1299410727114903613

3 gb sqlite file for a 600mb repo Perhaps not getting deleted files?

To reproduce

No response

Log output

No response

RomneyDa commented 1 week ago

Might be fixed by https://github.com/continuedev/continue/pull/2717

Which watches for file deletions

RomneyDa commented 1 week ago

https://github.com/continuedev/continue/issues/2688 occured in same instance/user

RomneyDa commented 1 week ago

My initial premise was incorrect, db can be way larger than repo because indexing is per workspace, git, model, etc. Grows over time

linnnff commented 2 days ago

so hou to fix it