Cody in vscode [MAC]

Hi everyone,

I’m new to Cody and Sourcegraph, and I’ve spent several hours trying to set up Cody in VSCode on my MAC. My goal is to be able to ask Cody questions within VSCode, and have the LLM retrieve relevant context from my current local repository or project folder.

To achieve this, I’ve tried the following:

  • Set up a Sourcegraph local instance hosted on a single Docker container
  • Installed the Sourcegraph CLI
  • Set up src serve-git
  • Added the code host under “Manage Code Hosts” in the Sourcegraph local instance

Despite these efforts, it’s still not working. When I ask something like, “Give me an introduction to my current codebase,” Cody doesn’t fetch any relevant files or provide a context-aware answer, even though I’ve added the correct project folder.

Any help would be greatly appreciated!

Hey @blarainck306

we no longer support Sourcegraph Free. All of our support engineers only work on enterprise issues. The only free product we support is Cody.
If you install Cody from within Visual Studio Code, it will work with your repository right out of the box.