cody
cody copied to clipboard
Agent: implement fallback for `vscodeGitAPI.repositories`
- 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
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.
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.