3 ms·
You can try it with Sourcegraph Cody. https://sourcegraph.com/cody https://sourcegraph.com/cody And instructions on how to change the provider to use Ollama w/
by ado__dev 3y ago
You can try it with Sourcegraph Cody. https://sourcegraph.com/cody https://sourcegraph.com/cody
And instructions on how to change the provider to use Ollama w/ whatever model you want:
Install and run Ollama
- Put ollama in your $PATH. E.g. ln -s ./ollama /usr/local/bin/ollama.
- Download Code Llama 70b: ollama pull codellama:70b
- Update Cody's VS Code settings to use the unstable-ollama autocomplete provider.
- Confirm Cody uses Ollama by looking at the Cody output channel or the autocomplete trace view (in the command palette).
- Update the cody settings to use "codellama:70b" as the ollama model
https://github.com/sourcegraph/cody/pull/2635 https://github.com/sourcegraph/cody/pull/2635
- just_testing 3y agoHey, thanks for the tip. One issue, though: I took a look at the Cody website and it looks like one can't have unlimited completions even when self-hosting a LLM. I understand you guys have a business model and need to make money out of it. I'm just asking because I work as a teacher and I have students who can't pay an extra subscription and/or students who want to hack into stuff.