Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context provider by folder fails with * #3437

Open
Mte90 opened this issue Nov 18, 2024 · 3 comments
Open

Context provider by folder fails with * #3437

Mte90 opened this issue Nov 18, 2024 · 3 comments

Comments

@Mte90
Copy link

Mte90 commented Nov 18, 2024

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
Copy link
Member

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

@Mte90
Copy link
Author

Mte90 commented Nov 19, 2024

Yeah I saw that after trying but there is no warning/check in the Tabby UI. Like a validation about what I wrote, like if the path exists. To discover that you need to save and wait for the job to fails but you don't get any alert about it too.

About the other issue about the amount of files?

@Mte90
Copy link
Author

Mte90 commented Nov 20, 2024

So about the second issue, the list include the files used to reply not the files scanned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants