Did you try continue dev? It's free open-source and you can run it locally with self hosted models through ollama.
Discussion
I'll give it a try but given my project has more than 20k files I have little hope it would not run into unnecessarily gigantic queries that cost a lot.
