Use Qwen 2.5 Coder <|cursor|> token to properly position cursor after code auto-completion #3852
Labels
area:autocomplete
Relates to the auto complete feature
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
priority:medium
Indicates medium priority
Validations
Problem
Qwen 2.5 Coder model sometimes returns <|cursor|> token in code completion response to indicate proper new position of cursor after code insertion. Currently continue.dev displays the <|cursor|> text instead of properly positioning the cursor in editor.
Example code completion:
int main()
{
<|cursor|>
}
Solution
Proper positioning of cursor after autocomplete code insertion.
The text was updated successfully, but these errors were encountered: