Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TomMalkin
Copy link

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

@madox2
Copy link
Owner

madox2 commented Jun 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants