TabbyML / tabby

Self-hosted AI coding assistant
https://tabbyml.com
Other
21.9k stars 997 forks source link

Context provider by folder fails with * #3437

Open Mte90 opened 13 hours ago

Mte90 commented 13 hours ago

With the latest version I tried to scan a folder but is not clear if reads also the various subfolders.

I wrote as path file:///[...]/Amber/* (the [...] part is to censor) I got crates/tabby-index/src/code/repository.rs:39: Failed to clone 'file:///[...]/kde/Amber/*'. Please check your repository configuration in the terminal but on the UI there is no alert if it was fine or not. I just did that because when using the chat panel was saying that just used the file on the root folder and not all the files in the various subfolders in that folder.

image

This is an example with a ffolder where there is a full django project where says Read 8 files instead of all of them.

wsxiaoys commented 4 hours ago

Hi - repository path doesn't really support glob patterns, so you might wanna set file:///[...]/Amber as path.