continue
continue copied to clipboard
IntelliJ: Gemini streaming response received but not rendered in chat window
Before submitting your bug report
- [x] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
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:
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
Hm interesting, is this the only model that is having that issue?
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.