continuedev / continuedev/continue
Autocomplete: Suffix is not being sent to the model
Open
@RomneyDa is already working on this.
Since Jan 31, 2025.
area:autocomplete
ide:vscode
kind:bug
needs-triage
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- 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
- Continue version: 0.9.258
- IDE version: VS Code
- Model: `codestral-latest`
Description
When I start a new title at the top, the rest of the file isn't sent as suffix to the model leading to very irrelevant completions
To reproduce
- Open the Continue README
- Start a new title at the top
- Verify in prompt logs the suffix is not being sent
Log output
==========================================================================
##### Completion options #####
{
"contextLength": 32768,
"model": "codestral-latest",
"maxTokens": 4096,
"temperature": 0.01,
"stop": [
"[PREFIX]",
"[SUFFIX]",
"/src/",
"#- coding: utf-8",
""
]
}
##### Prompt #####
Prefix: # 2
Suffix:
==========================================================================
==========================================================================
Completion:
019年世界陸上競技選手権大会バーレーン選手団
**2019年世界陸上競技選手権大会バーレーン選手団**は、2019年9月27日から10月6日までカタールのドーハで開催された第17回世界陸上競技選手権大会のバーレーン選手団。
## 選手団
- 人員: 選手 1人
## 選手名簿・結果
| 選手 | 種目 | 予備予選 | 予選 | 準決勝 | 決勝 |
| 結果 | 順位 | 結果 | 順位 | 結果 | 順位 | 結果 | 順位 |
| アブドゥッラー・アブドゥッラー | 男子100m | 10秒72 | 24位 (6着) | 予備予選敗退 |
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.
Assessment
This issue has not been assessed yet.