Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Autocomplete: Suffix is not being sent to the model #3908

Open
3 tasks done
Patrick-Erichsen opened this issue Jan 31, 2025 · 1 comment
Open
3 tasks done

Autocomplete: Suffix is not being sent to the model #3908

Patrick-Erichsen opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@Patrick-Erichsen
Copy link
Collaborator

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着) | 予備予選敗退 |
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Jan 31, 2025
@sestinj
Copy link
Contributor

sestinj commented Feb 7, 2025

So far have been unable to reproduce with the following config.json in the latest pre-release versions (0.9.259+):

{
  "title": "Codestral",
  "provider": "mistral",
  "model": "codestral-latest",
  "apiBase": "https://api.mistral.ai/v1/",
  "apiKey": ""
}

If anyone can share a config.json example that this happens with please do!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

3 participants