Bryley / neoai.nvim

Neovim plugin for intracting with GPT models from OpenAI
MIT License
566 stars 51 forks source link

Any way to keep history of conversations when closing UI? #5

Open DanielVolchek opened 1 year ago

DanielVolchek commented 1 year ago

Maybe I am using this wrong and I missed it, but when I close the GUI after using it with :NeoAIToggle, my previous message history is gone. This feels like a must have feature as I will often need to consult the messages and carry on a conversation instead of simply copy pasting it in from my registers.

Also, just wanted to add that this is a really nice plugin. I am definitely going to enjoy using it until Copilot-X gets an official Neovim adaptation (if we even get the conversation feature!) Great job!

Bryley commented 1 year ago

Hey there, thanks for the feedback!

Right now, we don't have a way to save conversations, so when you close the window, everything just disappears. However I'm planning to add a feature in future updates that'll let you save and check out your past chats across different sessions.

Thanks again!

academo commented 1 year ago

@Bryley I noticed that when I use the toggle function it is a completely new conversation that starts with the bot. Is this the way is supposed to work based on the limitations you mentioned? I noticed that closing and opening the sidebar will make the bot completely forget the last conversation.