Myzel394 / zsh-copilot

How we all expected GitHub Copilot in the CLI to be. No `suggest` bullshit
97 stars 11 forks source link

Add Ollama with llama3 model (on the same file this time) #6

Closed math-x-io closed 1 month ago

math-x-io commented 2 months ago

This update now allows Ollama with the Llama 3.1 model instead of the OpenAI API if the user uses '^e' instead of '^z'. Documentation for installing Ollama and Llama 3.1 has also been added to the Readme.md.

Tamles commented 2 months ago

Great PR, we were thinking to implement Ollama integration as well but you're to fast! 🎉

math-x-io commented 2 months ago

@Myzel394 I added the possibility of choosing OpenAI or Ollama by setting the shortcut (view the new doc on my last commit). By default, OpenAI is set but if the user wants to set Ollama, he just needs to set the shortcut in value of the variable ZSH_COPILOT_KEY_OLLAMA.