Closed math-x-io closed 1 month ago
Great PR, we were thinking to implement Ollama integration as well but you're to fast! 🎉
@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
.
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.