Skip to content

Exception in Json when running Ollama #17

Description

@goatyde

Maby someone knows what the problem may be:

Local Ollama worked fine a while, now after some updates in Eclipse here and there it throws a exception.

Eclipse IDE for C/C++ Developers 4.40.0.20260604-0652
AI Coder 1.0.0.202607302026

java.lang.IllegalArgumentException: Don't know how to convert to Json : java.util.stream.ReferencePipeline$3@30fc771a
at mjson.Json$DefaultFactory.make(Json.java:1172)
at mjson.Json.make(Json.java:1364)
at mjson.Json.set(Json.java:1629)
at de.hetzge.eclipse.aicoder.llm.LlmUtils.executeOllama(LlmUtils.java:140)
at de.hetzge.eclipse.aicoder.llm.LlmUtils.execute(LlmUtils.java:86)
at de.hetzge.eclipse.aicoder.llm.LlmUtils.execute(LlmUtils.java:76)
at de.hetzge.eclipse.aicoder.llm.LlmUtils.executeEdit(LlmUtils.java:43)
at de.hetzge.eclipse.aicoder.inline.InlineCompletionController$2.run(InlineCompletionController.java:255)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions