Skip to content

Trigger Key for autocomplete suggestions not working #13242

Description

@hugging-cat

Before submitting your bug report

Relevant environment info

- OS: Ubuntu 24.04
- Continue version: v2.0.0
- IDE version: VS Code 1.136.0
- Model: qwen2.5 Coder
- config:
  
name: Main Config
version: 1.0.0
schema: v1
models:
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
#  - name: Qwen2.5-Coder 1.5B
#    provider: ollama
#    model: qwen2.5-coder:1.5b-base
#    roles:
#      - autocomplete
  - name: Local llp
    provider: llama.cpp
    model: qwen
    apiBase: http://127.0.0.1:8080
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed

  
  OR link to agent in Continue hub:

Description

I'm trying to set a trigger key. I have followed all the instructions according to "How to set a trigger key for Autocomplete suggestions" section at https://github.com/continuedev/continue/blob/main/docs/customize/deep-dives/autocomplete.mdx?utm_source=chatgpt.com, but it seems when I press the trigger key, it essentially turns on full auto mode again, without remembering I only want it triggering on the configured shortcut.

To reproduce

  1. set "editor.inlineSuggest.enabled": false in your settings.json file
  2. set a keyboard shortcut (Ctrl + K, S) for editor.action.inlineSuggest.trigger (I chose "Alt+=")
  3. go to some code in the editor, and mess around, noticing that code complete doesn't work.
  4. press your trigger key - there should be a suggestion
  5. it now sticks on as if your trigger key is stuck down

Log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions