Skip to content

Use Ollama provider got error #318

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

Open
peng051410 opened this issue Mar 16, 2025 · 1 comment
Open

Use Ollama provider got error #318

peng051410 opened this issue Mar 16, 2025 · 1 comment

Comments

@peng051410
Copy link

Error message:
Cannot invoke "okhttp3.ResponseBody.byteStream()" because the return value of "retrofit2.Response.body()" is null

Image

IDEA info:
IntelliJ IDEA 2024.3.2.2 (Ultimate Edition)
Build #IU-243.23654.189, built on January 29, 2025

Runtime version: 21.0.5+8-b631.30 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.0.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation

@Blarc
Copy link
Owner

Blarc commented Mar 23, 2025

Hey @peng051410,

it's hard to say what's wrong just from the information that you provided. Since Ollama models are run locally, I'd suggest checking if the models are running correctly and inspecting the logs. I think this might be an Ollama configuration / setup issue rather than a plugin issue.

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