vim-ai icon indicating copy to clipboard operation
vim-ai copied to clipboard

stop errors when custom APIs are used that don't have OPENAI_RESP_DONE

Open TomMalkin opened this issue 1 year ago • 1 comments

custom servers like LM Studio cause vim-ai to throw JSONDecodeError if it doesn't have the same OpenAI stop string.

TomMalkin avatar Apr 26 '24 01:04 TomMalkin

Hi, ignoring any JSONDecodeError error does not feel right. Could you find out what exactly LM Studio sends that makes the command fail? Maybe we could handle it specifically

madox2 avatar Jun 12 '24 15:06 madox2