continuedev / continuedev/continue
Error handling model response: Headers is not a constructor
Open
Nobody has claimed this yet.
kind:bug
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I'm not able to find a related conversation on GitHub discussions that reports the same bug
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:
- Continue version:
- IDE version:
- Model:
- config:
name: Local Config
version: 1.0.0
schema: v1
models:
- name: DeepSeek Chat
provider: deepseek
model: deepseek-chat
apiKey: <-->
- name: Gemini 3.1 Pro
provider: gemini
model: gemini-3.1-pro-preview
apiKey: <-->
OR link to agent in Continue hub:
Description
Error handling model respons
e
There was an error handling the response from Gemini 3.1 Pro.
Please try to submit your message again.
Resubmit last message
View error output
Headers is not a constructor
To reproduce
Log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no source file, test, or entry point. Start by reproducing the Gemini 3.1 Pro request and inspect the error output behind “View error output,” then trace the model-response handling that reaches “Headers is not a constructor.” Done means the response is handled successfully without this error and the relevant regression is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100