aduros / ai.vim

Generate and edit text in Neovim using OpenAI and GPT.
ISC License
291 stars 24 forks source link

JSON file error #29

Open Barashka02 opened 7 months ago

Barashka02 commented 7 months ago

Error executing vim.schedule lua callback: ...unov/.local/share/nvim/plugged/ai. vim/lua/_ai/openai.lua:83: Expected comma or object end but found T_END at chara cter 336 stack traceback: [C]: in function 'decode' ...unov/.local/share/nvim/plugged/ai.vim/lua/_ai/openai.lua:83: in funct ion 'on_stdout_chunk' ...unov/.local/share/nvim/plugged/ai.vim/lua/_ai/openai.lua:14: in funct ion <...unov/.local/share/nvim/plugged/ai.vim/lua/_ai/openai.lua:13>

I get this error after running <control + a>

Also is it possible to use gpt-4 if I pay for it with this?