continuedev / continuedev/continue
Autocomplete silently produces nothing when Ollama Modelfile `num_ctx` equals Continue's default `maxTokens` (4096) — `pruneLength` computes a negative prompt budget and prunes prefix/suffix to empty
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
This issue has no description.
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 at the autocomplete path and locate the pruneLength calculation described in the issue. Reproduce it with an Ollama Modelfile whose num_ctx and Continue maxTokens are both 4096, then verify that autocomplete no longer silently produces an empty result when the prompt budget is negative.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ollama, typescript
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100