Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: Error message "Unexpected end of JSON input" #2013

@david-menloai

Description

@david-menloai

Cortex version

1.0.10

Describe the issue and expected behaviour

Issue:
Error message "Unexpected end of JSON input" when sending reques to model gemini-1.5-flash

Expected behaviour:
Should not display error message

Steps to Reproduce

  1. Open Jan
  2. Select model gemini-1.5-flash
  3. Config Stream: True and Temperature: 1
  4. Sending some request
  5. Observe the message return from Jan

Screenshots / Logs

Image

app_logs.txt

cortex_logs.txt

What is your OS?

  • Windows
  • Mac Silicon
  • Mac Intel
  • Linux / Ubuntu

What engine are you running?

  • cortex.llamacpp (default)
  • cortex.tensorrt-llm (Nvidia GPUs)
  • cortex.onnx (NPUs, DirectML)

Hardware Specs eg OS version, GPU

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

Status

Investigating

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions