continue
continue copied to clipboard
Autocomplete: The same context appears twice in the prompt coming from RecentlyVisitedRanges
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:
- Continue version: 1.1.25
- IDE version: VS Code
- Model: Together.ai Qwen Coder 32B Instruct
- config:
"tabAutocompleteModel": {
"title": "Together Qwen2.5 Coder",
"provider": "together",
"model": "Qwen/Qwen2.5-Coder-32B-Instruct",
"apiKey": "",
"completionOptions": {
"temperature": 0.5,
"topP": 0.999,
"topK": 250,
"maxTokens": 100
}
},
"tabAutocompleteOptions": {
"maxPromptTokens": 1024,
"debounceDelay": 500,
"maxSuffixPercentage": 0.2,
"prefixPercentage": 0.3,
"experimental_includeClipboard": false,
"experimental_includeRecentlyVisitedRanges": true,
"experimental_includeRecentlyEditedRanges": false,
"experimental_includeDiff": false,
"useImports": true
}
Description
In the context part of the completion, the same file and range appears twice, as can be seen on the image:
To reproduce
Use the experimental configuration above to enable only RecentlyEditedRanges. Visit more than one place. Trigger autocomplete.
Log output