bloop icon indicating copy to clipboard operation
bloop copied to clipboard

Requests are not scoped to the current repo

Open ramnes opened this issue 2 years ago • 2 comments

Hey there, thanks for the neat tool! Discussed that exact idea a few days ago with a friend, happy to see such a tool already live.

Describe the bug Requests are not scoped to the current repo.

Expected behavior When I click on a repo and ask a question, I expect the answers to only consider the current repository, not other repositories I may have sychronized.

To Reproduce

  • Click on a repo.
  • Ask a question.
  • See code from another repo.

Additional context

  • Using latest macOS bloop build available (v0.3.1)
  • Using both local (2x) and GitHub (1x) repositories.

ramnes avatar Mar 24 '23 09:03 ramnes

Hey @ramnes, thanks for raising this. This is something we're aware of and are working to address. We're working on some improvements to the rephrase prompt (which outputs the semantic search query), so that it can generate queries constrained by repo (e.g. OAuth test repo:bloop) if that makes sense given the conversational context.

If you have any ideas on how this can be improved please share!

ggordonhall avatar Mar 24 '23 09:03 ggordonhall

Cool. Adding repo: manually to each query works, would be a quick and easy fix if bloop could do this for me. :)

ramnes avatar Mar 24 '23 10:03 ramnes

This has been implemented in v0.3.4: https://github.com/BloopAI/bloop/releases/tag/v0.3.4

ggordonhall avatar Apr 19 '23 08:04 ggordonhall