frankroeder / parrot.nvim

parrot.nvim 🦜 - the plugin that brings stochastic parrots to Neovim. This is a gp.nvim-fork focused on simplicity.
Other
289 stars 18 forks source link

How to set default model? #63

Open Sologala opened 1 month ago

Sologala commented 1 month ago

I installed some model throuth ollama locally, as well as some text embbedding model like nomic-embed-text:latest. parrot.nvim always chooses it as default model. image How can I specify a model as default model when I call PrtChatNew?

frankroeder commented 1 month ago

Hello @Sologala ,

By default, all of your selections, including the provider and model, are stored persistently in the file ~/.local/share/nvim/parrot/persisted/state.json. When starting a new chat, you can use the PrtStatus command to display the current provider and model selections.

I checked the model you mentioned, and it's important to note that nomic-embed-text is not a large language model; it's an embedding model and thus not suitable for parrot.nvim. However, the selection should still be stored correctly.

If you are using Windows, there might be some issues.