Skip to content

IntelliJ: Gemini streaming response received but not rendered in chat window #7044

@tim-sh

Description

@tim-sh

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue version: 1.0.30
- IDE version: IntelliJ IDEA Community 2025.1
- Model: gemini-2.5-pro (self-hosted)
- config:
  
models:
  - name: my gemini-2.5-pro
    provider: gemini
    model: gemini-2.5-pro
    apiBase: https://api.example.com/some/path
    requestOptions:
      headers:
        Authorization: Bearer eyCmon…
        MyCustomHeader: foo

Description

I see an empty 'response' from the LLM when trying to use Continue in IntelliJ as either an agent or asking:

Image

Using a proxy, I can see that the LLM does stream SSE responses such as:

data: {"candidates": [{"content": {"role": "model","parts": [{"text": "Hello! How can I help you with your code today?"}]},"finishReason": "STOP"}],"usageMetadata": {"promptTokenCount": 752,"candidatesTokenCount": 12,"totalTokenCount": 790,"trafficType": "ON_DEMAND","promptTokensDetails": [{"modality": "TEXT","tokenCount": 752}],"candidatesTokensDetails": [{"modality": "TEXT","tokenCount": 12}],"thoughtsTokenCount": 26},"modelVersion": "gemini-2.5-pro","createTime": "2025-08-07T10:47:08.530662Z","responseId": "LISUaOaxIOD_xN8PyLjngQ8"}

There's no new entry in the Continue log during that time.

To reproduce

No response

Log output

Metadata

Metadata

Labels

area:chatRelates to chat interfaceide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions