continuedev / continuedev/continue

Error: DeepSeek R1 8B - 400

Open
#12,735 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.