Been experimenting with aider for a while. Really fun using it for basically free with deepseek. Thanks for getting that to work.
My question is re your whole file fallback approach. Since you already have everything mapped out with treesitter, have you considered doing function at a time instead? It's just as easy for a model to ask for a function as it is for a file