Skip to content

Autocomplete using Openrouter doesn't send extraBodyProperties #12334

@brielli-sensei

Description

@brielli-sensei

Before submitting your bug report

Relevant environment info

- OS: Linux Mint 22
- Continue version: both 1.3.38 (pre-release) and 1.2.22 (release)
- IDE version: vscode 1.118.1
- Model: DeepSeek V4 Flash
- config:
  
name: Local Config
version: 1.0.0
schema: v1
models:
  - name: DeepSeek V4 Flash
    provider: openrouter
    model: deepseek/deepseek-v4-flash
    apiKey: ***
    requestOptions:
      extraBodyProperties:
        reasoning:
          exclude: true
          enabled: false
          effort: none
    roles:
      - autocomplete

Description

I tried to use some models as Autocomplete helper (for example DeepSeek V4 Flash) but appear that they show the thinking text instead of code suggestion.
Then I tried to turnoff (or hide, none of them worked) the reasoning part following the documentation of Openrouter and Continue.
It seems that Continue doesn't send these extraBodyProperties properties:

Image

To reproduce

  1. Install Continue on VScode
  2. Configure a model with openrouter and set some requestOptions->extraBodyProperties properties (like mine)
  3. Open the Continue console to watch the request logs
  4. Open a file, write something. Force suggestion if needed (using ctrl+alt+space in my case)
  5. I expect to see Continue requests with the additional properties set in the configuration, but it not happen

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions