continuedev / continuedev/continue

Enable Continue Plugin Causes Significant Slowdown in Python Inline Suggestions

Open
#4,483 14 comments 1 reaction 1 assignee View on GitHub

@Patrick-Erichsen is already working on this.

Since Mar 5, 2025.

area:inline-edit ide:vscode kind:bug needs-triage os:windows
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
OS: Windows 11 Pro (Version 24H2, OS Build 26100.3194)
Continue version: 1.0.2
IDE version: Visual Studio Code 1.97.2
Model: deepseek v3 official

{
  "models": [
    {
      "title": "Deepseek",
      "model": "deepseek-chat",
      "provider": "deepseek",
      "apiKey": "sk-xxx"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Deepseek",
    "model": "deepseek-chat",
    "provider": "deepseek",
    "apiKey": "sk-xxx"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "embeddingsProvider": {
    "provider": "free-trial"
  },
  "reranker": {
    "name": "free-trial"
  }
}
Description

After enabling the Continue plugin in VS Code, I noticed a significant performance degradation in Python inline suggestions. Normally, inline suggestions (e.g., for basic constructs like async def pass) appear almost instantly. However, with the Continue plugin enabled, it takes approximately 5 seconds for these suggestions to appear.

This issue occurs consistently across different Python files and projects. Disabling the Continue plugin immediately resolves the slowdown, and inline suggestions return to their normal speed.

To reproduce
  1. Install the Continue plugin in VS Code.
  2. Open a Python file.
  3. Start typing a basic Python construct, such as async def pass.
  4. Observe the delay in inline suggestions.
Log output
==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 8096,
  "model": "deepseek-chat",
  "maxTokens": 4096,
  "temperature": 0.01,
  "stop": [
    "<|fim▁begin|>",
    "<|fim▁hole|>",
    "<|fim▁end|>",
    "//",
    "<|end▁of▁sentence|>",
    "/src/",
    "#- coding: utf-8",
    ""
  ]
}

##### Prompt #####
Prefix: 
# login/goofish.py
import asyncio

class GoofishLoginHelper:
    def __init__(self):
        ...

    async def login(self):
        ...

    a
Suffix: 
==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 8096,
  "model": "deepseek-chat",
  "maxTokens": 4096,
  "temperature": 0.01,
  "stop": [
    "<|fim▁begin|>",
    "<|fim▁hole|>",
    "<|fim▁end|>",
    "//",
    "<|end▁of▁sentence|>",
    "/src/",
    "#- coding: utf-8",
    ""
  ]
}

##### Prompt #####
Prefix: 
# login/goofish.py
import asyncio

class GoofishLoginHelper:
    def __init__(self):
        ...

    async def login(self):
        ...

    
Suffix: 
==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 8096,
  "model": "deepseek-chat",
  "maxTokens": 4096,
  "temperature": 0.01,
  "stop": [
    "<|fim▁begin|>",
    "<|fim▁hole|>",
    "<|fim▁end|>",
    "//",
    "<|end▁of▁sentence|>",
    "/src/",
    "#- coding: utf-8",
    ""
  ]
}

##### Prompt #####
Prefix: 
# login/goofish.py
import asyncio

class GoofishLoginHelper:
    def __init__(self):
        ...

    async def login(self):
        ...

    a
Suffix: 
==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 8096,
  "model": "deepseek-chat",
  "maxTokens": 4096,
  "temperature": 0.01,
  "stop": [
    "<|fim▁begin|>",
    "<|fim▁hole|>",
    "<|fim▁end|>",
    "//",
    "<|end▁of▁sentence|>",
    "/src/",
    "#- coding: utf-8",
    ""
  ]
}

##### Prompt #####
Prefix: 
# login/goofish.py
import asyncio

class GoofishLoginHelper:
    def __init__(self):
        ...

    async def login(self):
        ...

    
Suffix: 
==========================================================================
==========================================================================
Completion:
async def logout(self):
        ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.