nomnivore / ollama.nvim

A plugin for managing and integrating your ollama workflows in neovim.
MIT License
311 stars 22 forks source link

Add chatting support? #7

Open sandangel opened 7 months ago

sandangel commented 7 months ago

Hi, I really interested in this plugin. Is it possible to add support for chat like https://github.com/dustinblackman/oatmeal.nvim ? I think the UI can be better.

nomnivore commented 7 months ago

A chat module is something I'm interested in implementing, but don't have a timeline for yet. I'm open to input on how the UI/UX flow should look though.

nomnivore commented 6 months ago

For anyone interested, I got a very primitive chat interface started over on the chat branch if you want to play around with it.

OllamaChat (show/hide) and OllamaChatClose (full close) are the user commands you'll want to note.

Please note the branch is considered unstable, breaking changes can/will be made and the branch will eventually be deleted. UI width is fixed at 95 columns, and it uses only your default model.

Many more changes/features are coming, but I know a few that were patiently waiting for this, so here's a little appetizer!

sandangel commented 6 months ago

Nice. Let me try it out

sandangel commented 6 months ago

I think Ollama also added a new chat API that we can use