continuedev / continuedev/continue
Error: DeepSeek R1 8B - 400
Open
Nobody has claimed this yet.
area:ollama
kind:bug
stale
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Error Details
Model: DeepSeek R1 8B
Provider: ollama
Status Code: 400
Error Output
"{\"error\":{\"code\":400,\"message\":\"request (42947 tokens) exceeds the available context size (8192 tokens), try increasing it\",\"type\":\"exceed_context_size_error\",\"n_prompt_tokens\":42947,\"n_ctx\":8192}}"
Additional Context
Please add any additional context about the error here
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
Start by reproducing the DeepSeek R1 8B request through the Ollama provider using the reported 42,947-token prompt and 8,192-token context limit. Trace where the request context is assembled and determine what behavior should prevent or clearly report this 400 error; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100