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

Ollama JSON parse error #142

Open
defaultsecurity opened this issue Sep 27, 2024 · 2 comments
Open

Ollama JSON parse error #142

defaultsecurity opened this issue Sep 27, 2024 · 2 comments

Comments

@defaultsecurity
Copy link

defaultsecurity commented Sep 27, 2024

The problem

During trannsating a message, half-way througI got this error:

Ollama API request failed: JSON.parse: unterminated string at line 1 column 80 of the JSON data

I think it could be an escaping problem.

Which Operative System are you using?

Windows 11

Which version of Thunderbird are you using?

128.2.3esr

Which version of ThunderAI has the issue?

2.1.5

Which integration are you using?

Ollama API

Anything in the Thunderbird console logs that might be useful?

Ollama API request failed: JSON.parse: unterminated string at line 1 column 80 of the JSON data

Additional information

Ollama version 0.3.12

@micz
Copy link
Owner

micz commented Sep 27, 2024

May you activate the debug and post here the error log?
May you also provide a prompt to replicate the error?
Thank you.

@micz
Copy link
Owner

micz commented Oct 1, 2024

Maybe related to #145, this happens when the response is truncated.
May you give the info requested?

@micz micz closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@micz micz reopened this Oct 1, 2024
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