Closed tofeeh closed 5 months ago
do you know how to config ollama for provider?
@destnguyxn ollama is supported out of the box! You need to install ollama and have the server running on your system. Here is the default config part: https://github.com/frankroeder/parrot.nvim/blob/986759a0f102666ae836bb7a317872324adda2ce/lua/parrot/config.lua#L22
After that, you just need to switch the provider (PrtProvider) and select your ollama agent (PrtAgent). parrot.nvim comes with a bunch of agent configurations: https://github.com/frankroeder/parrot.nvim/blob/986759a0f102666ae836bb7a317872324adda2ce/lua/parrot/agents.lua#L23 but you are free to add your own. I hope that helps until I have time to write a proper documentation.
Just in case someone is using lazyvim, here is my configuration.
}, }