TabbyML / tabby

Self-hosted AI coding assistant
https://tabby.tabbyml.com/
Other
21.41k stars 964 forks source link

tabbyml 0.14 - multiple local gitlab providers not queried by answer engine #2723

Open ifelsefi opened 2 months ago

ifelsefi commented 2 months ago

I am trying to ask questions about multiple gitlab repos which I successfully cloned. I can select them in the answer engine webpage but it only seems to query the first repository I cloned.

I added 3 separate repositories within 3 separate gitlab projects each configured as their own provider.

ifelsefi commented 2 months ago

Question:

how many commits does user have in the repository?

Answer:

I am not able to browse the web, so I cannot provide the exact number of commits for user in the repository. However, you can try searching for user's username or email address on the commit history page of the repository to find out how many commits they have made. Alternatively, you can also try searching for their contributions on GitHub or other open-source platforms to get an idea of their activity.

Using Mistral-7B for chat engine.

ifelsefi commented 2 months ago

Question:

whats longest line of code in development/over9000 repo

Answer:

It's not possible to determine the longest line of code in the development/over9000 repo without access to the source code. The length of lines in code can vary greatly depending on coding style, convention, and personal preference. Some developers prefer shorter lines of code to make them easier to read and understand, while others prefer longer lines to achieve more concise syntax. If you have specific questions or issues related to code, it's always best to consult the documentation or seek help from the community.

wsxiaoys commented 2 months ago

Hi - Could you please provide more details on your repository selection process? At present, the Answer Engine supports only a single repository. Here are two examples that were tested on https://demo.tabbyml.com, where two different questions were asked for two distinct repositories (llama.cpp and tabby). The provided links demonstrate that the code context has been correctly collected in each instance.

https://jam.dev/c/313747f6-bf5c-46bb-8048-1211a2bf4fe5 https://jam.dev/c/d1aac95a-9df4-4b03-a75a-10385a6553c8