continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
13.86k stars 985 forks source link

Redundant whitespaces created by autocompletion #1448

Open overcuriousity opened 1 month ago

overcuriousity commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS: Debian Trixie
- Continue: v0.9.155
- IDE: VSCode

Description

I configured autocompletions for my continue addon, backend is ollama with codeqwen (tested multiple). It seems to create redundant whitespaces consistently on code completion which have to be deleted manually.

To reproduce

  1. Code
  2. Preview autocompletion shows a reduntant whitespace at the curser position

Log output

no errors here
sestinj commented 1 month ago

@overcuriousity Is this happening only with CodeQwen? Different models tend to have different quirks, and it would be useful to know either that CodeQwen is the best model of its size or that this is also happening with other models, before I start looking into making a bunch of model-specific filters

overcuriousity commented 1 month ago

No, also happened last Werk with codellama. Didn't test properly with starcoder:3b.