Replies: 7 comments 28 replies
-
Unfortunately, I'm having trouble trying this out--getting errors when I try. I eliminated one error by disabling mkdx, which I saw referenced in the error. Have you tested on nvim 0.9.5, or only nightly? Could be a version compat issue. If it works for you on 0.9.5, it's likely something in my config conflicting. Here are examples of a couple of things I'm still hitting: Chat
Actions
|
Beta Was this translation helpful? Give feedback.
-
Played around with it briefly. Here's some raw feedback:
|
Beta Was this translation helpful? Give feedback.
-
Here's some initial feedback on the code advisor. After submitting the code advisor prompt, I got the following error:
which was followed by a notification:
after upgrading to a paid account to get access to that model, I no longer get the error. Certainly not a big deal, but it would be a smoother experience to just get the notification and not the error. Beyond that, is there a way to indicate when a request is processing? The API has been taking a loooooong time to return a result to my prompts, and in the meanwhile it looked like nothing was happening. That's actually what I thought the first time, and then was a little surprised to see the window pop up when it finally did. That said, this is pretty neat so far! I could actually see myself using these features in my work. Will need to experiment more. |
Beta Was this translation helpful? Give feedback.
-
@olimorris holy smokes, this blew my mind. It occurred to me that since we can have a terminal in a buffer in neovim, we could potentially use this plugin there too! I entered the command in the shell, went to normal mode, highlighted the line, and ran the code advisor, asking what the command does. The only awkward part was that the advisor prompt opened in normal mode, so I had to enter insert. Minor issue. I wonder what other non-obvious things we could do like this? Ask it to write a tricky shell command for you? |
Beta Was this translation helpful? Give feedback.
-
Heh, I guess I was over-eager 😅 Biggest thing for me is I'll never pay for OpenAI because it's (in my opinion) overpriced and not a very ethical company, so I'd love to see alternative models supported, perhaps via LocalAI to simplify integration; LocalAI provides a drop-in replacement for OpenAI's REST API using alternative open source models. |
Beta Was this translation helpful? Give feedback.
-
Was looking around for anything that integrates Copilot chat into neovim, and stumbled across these AI-related projects. Sharing here in case any of them are useful references you haven't already checked out. https://github.com/gsuuon/model.nvim |
Beta Was this translation helpful? Give feedback.
-
I had an idea a month ago for improving my dumb workflow of pasting code from Neovim into ChatGPT and back again. I'd tried chatgpt.nvim but interacting through the popup and having to remember 15+ keymaps did not feel intuitive.
Searching GitHub I came across the awesome work that SteveArc had done for his personal OpenAI.nvim plugin. How he was using native Neovim buffers to interact with OpenAI and also stream the output back into Neovim was genius. One of the thing's I love about Steve's plugins is how he builds them around native Neovim features.
There were a few ways I wanted to build on his work to further improve my workflow:
So after a week and a half of riffing, this is where I've ended up...
I'm hesitant to release it the wider community owing the amount of interest anything with OpenAI, LLMs, ChatGPT and Neovim gets. I'm not sure I'll have the willingness to respond to the huge influx of enhancements or bugs.
But, I wanted to share it with you to get your feedback and solicit some potential ideas to make it even better.
CC: @stevearc @mrjones2014
Beta Was this translation helpful? Give feedback.
All reactions