continue icon indicating copy to clipboard operation
continue copied to clipboard

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

Open tim-sh opened this issue 5 months ago • 2 comments

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


tim-sh avatar Aug 07 '25 14:08 tim-sh

Hm interesting, is this the only model that is having that issue?

Patrick-Erichsen avatar Aug 12 '25 20:08 Patrick-Erichsen

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Nov 11 '25 02:11 github-actions[bot]