cody icon indicating copy to clipboard operation
cody copied to clipboard

Agent: implement fallback for `vscodeGitAPI.repositories`

Open valerybugakov opened this issue 1 year ago • 1 comments

  • Used in the BFG retriever: https://github.com/sourcegraph/cody/blob/c49642c33a28564c0476a4c41dd1d66f112c331d/vscode/src/completions/context/retrievers/bfg/bfg-retriever.ts#L77
  • Scan workspace folders for git repos to support this API in the agent.
  • Relevant VS Code Git extension source: https://github.com/microsoft/vscode/blob/ced32c3f838734e427e608eb16ee58d39df0421f/extensions/git/src/model.ts#L331

valerybugakov avatar May 10 '24 08:05 valerybugakov

Our JetBrains plugin is already sending the “codebase” setting based on git remote config in the IntelliJ git plugin. The long term solution is to get this information from the JetBrains client, not infer it ourselves.

olafurpg avatar May 13 '24 05:05 olafurpg

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.

github-actions[bot] avatar Jul 22 '24 01:07 github-actions[bot]