vim-ai
vim-ai copied to clipboard
AI-powered code assistant for Vim. OpenAI and ChatGPT plugin for Vim and Neovim.
When changing the model of either vim_ai_complete_default or vim_ai_edit_default to another one (e.g. gpt-4o) then they stop working, and an error suggesting that API key should be verified is logged.
I configured [GROQ ](https://console.groq.com/docs/openai) as a custom endpoint, but then I was hitting 403 errors. Debugging, I figured that python's urllib's default user agent is blocked for some reason. Setting...
custom servers like LM Studio cause vim-ai to throw JSONDecodeError if it doesn't have the same OpenAI stop string.
Often, one gives instructions and code to the AIChat buffer and only then runs the `AIChat /role` command; these are mostly understood to come before the specific instructions. However, they...
Just left here for reference, as it rarely occurred ```vim Trovato errore eseguendo function vim_ai#AIChatRun[32]..function vim_ai#AIChatRun: riga 26: Traceback (most recent call last): File "", line 1, in File "/home/epn/.config/.vim/plugged/vim-ai/py/chat.py",...
I found the token limit rather arbitrary and surprising, as it is mentioned in passing in the configuration. If there's a reason why it ought to be 1000, then maybe...
- make AINewChat accept roles, selections and instructions - document it - leave previous open preset options for backwards compatibility - do not wipe out a buffer whose window is...
to avoid a slew of error messages and ill-fated actions
I was trying to set an icon to be shown next to the file name when it's modified. Airline always shows the default [+] when a file is modified.
Markdown highlighting within aichat files is controlled by a global variable `g:aichat_markdown`. The Vim documentation and the syntax file for aichat have been updated. Markdown highlighting is disabled by default...