Solved: Cody doesn't know my code base

I was having a problem where Cody did not have knowledge of my code base even though it had created embeddings. Figured I would share what worked for me to fix it in case others face this issue:
I had to go into C:\Users\Sinis\AppData\Roaming\Code\User\globalStorage and delete the sorcegraph.cody-ai closed and relaunched vscode, it generated the embeddings over again. Now it has knowledge of my code!

3 Likes

Another solution on Windows to delete only the embeddings are the files within this folder:
C:\Users\<YOUR_USER_NAME>\AppData\Local\com.sourcegraph.cody\embeddings\st-v1

In this folder are the embeddings stored. The folder you provided are the cody.engine and the symf indexer binaries.

1 Like

Any idea where to find this on MacOS?

2 Likes