diff --git a/core/autocomplete/postprocessing/index.ts b/core/autocomplete/postprocessing/index.ts index 3d97df9ca..1eb3b37da 100644 --- a/core/autocomplete/postprocessing/index.ts +++ b/core/autocomplete/postprocessing/index.ts @@ -120,10 +120,5 @@ export function postprocessCompletion({ completion = completion.slice(1); } - // Qwen often adds an extra space to the start - if (llm.model.toLowerCase().includes("qwen") && completion.startsWith(" ")) { - completion = completion.slice(1); - } - return completion; }