Context search improvements/reliability #1015
Replies: 12 comments 9 replies
-
Could you try to use |
Beta Was this translation helpful? Give feedback.
-
This definitely needs more info, what exactly is not working? Maybe the issue is this? https://github.com/CopilotC-Nvim/CopilotChat.nvim?tab=readme-ov-file#requirements (e.g autocomplete config not set properly) |
Beta Was this translation helpful? Give feedback.
-
So was it the issue I mentioned or can you provide some steps to reproduce the issue or info about what the issue even is? |
Beta Was this translation helpful? Give feedback.
-
I've also experienced a related issue recently where sometimes after adding files in the context it would just add a filemap (?) and the LLM would tell me it can't see the content, but just the names (and that's also what I see after pressing |
Beta Was this translation helpful? Give feedback.
-
Until recently the Rest is mostly just filtering issue, |
Beta Was this translation helpful? Give feedback.
-
@deathbeam i'm on commit 1e5640b (from 15 min ago). can you confirm that this is intended behavior (i have custom instructions so right now it doesn't auto-generate
if i press |
Beta Was this translation helpful? Give feedback.
-
yea that is somewhat intended behaviour. how the filtering works is that it grabs your prompt + all prompts from history and filters the result of #files based on that. which means that for generic description of the project and very generic queries on big repositories it is not very helpful (in ideal scenario it will try to grab stuff like README etc if you have one), but if you somewhat know what you are looking for (keywords etc) then the results are better. The context description for generating the ># commands is auto included after all system prompts, so its there but as the AI doesnt even know what you are looking for it cant even generate specific context command so it only mentions it i guess. Also the file/filenames contexts have limit of 2500 files and also respect gitignore so if src/include is in gitignore or there are too many files it skips |
Beta Was this translation helpful? Give feedback.
-
I think this might be better as discussion as stuff like this is something that will gradually have to improve as the filtering is best effort at best (stuff like VectorCode and vectorspace also partially helps) so gonna move it to discussion. I also just did some improvements on agressive filtering out of binary files in advance for slightly better results |
Beta Was this translation helpful? Give feedback.
-
I did some improvements to sorting and filtering. Before I had min threshold for similarity, now I changed it to cutoff point instead that is dynamically calculated so if there is bunch of slightly matching results that are very similar and there is nothing better it will try to grab them |
Beta Was this translation helpful? Give feedback.
-
One idea I have is maybe there should be something like an Or maybe I am misunderstanding how it works..thanks! |
Beta Was this translation helpful? Give feedback.
-
The new updates completely messed up the plugin. Now it no longer recognize |
Beta Was this translation helpful? Give feedback.
-
Keeping this open mostly for visibility as the filtering issue isnt fully solved and im making some imrpovements to it in the tools PR |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am experiencing an issue where the file input in CopilotChat.nvim is not functioning as expected. Could someone provide guidance on how to verify if the file input is working correctly?
Beta Was this translation helpful? Give feedback.
All reactions