continuedev / continuedev/continue

Autocomplete: Suffix is not being sent to the model

Open
#3,908 1 comment 0 reactions 1 assignee View on GitHub

@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
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

Image

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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.