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

Has anyone encountered Unexpected end of JSON input error #242

Closed
PeterTongHu opened this issue Jun 5, 2024 · 1 comment
Closed

Has anyone encountered Unexpected end of JSON input error #242

PeterTongHu opened this issue Jun 5, 2024 · 1 comment

Comments

@PeterTongHu
Copy link

Here is the error:
Generating messages keep timing out, and there has been Unexpected end of JSON input error.
Screenshot 2024-06-05 at 5 57 52 PM

@ianmacartney
Copy link
Collaborator

I wonder if the llm is giving up and not sending back a full response - you could try catching the error in llm.ts and printing what the response was - maybe await response.text() would return something? My guess is this is running against local ollama?

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

No branches or pull requests

2 participants