continuedev / continuedev/continue

Unable to remove "stop" parameter from autocomplete request for gpt-5-nano

Open
#8,184 7 comments 2 reactions 1 assignee View on GitHub

@Patrick-Erichsen is already working on this.

Since Oct 10, 2025.

area:autocomplete ide:vscode kind:bug os:mac
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: macOS
- Continue version: 1.3.16
- IDE version: VSCode recent
- Model: gpt-5-nano
- config:
  
- name: GPT 5 nano
      model: gpt-5-nano
      <<: *azure
      roles:
          - autocomplete
          - apply
      defaultCompletionOptions:
          contextLength: 272000
          temperature: 1
          stop: []
Description

GPT-5-nano does not support the stop parameter at all. It returns a 400 response. It looks like the parameter is sent even if I set it to an empty array.

I am using the Azure API with API version '2025-04-01-preview'.

To reproduce
  1. Configure gpt-5-nano as autocomplete model.
  2. Select it in the config
  3. Start coding.
Log output
`{ "error": { "message": "Unsupported parameter: 'stop' is not supported with this model.", "type": "invalid_request_error", "param": "stop", "code": "unsupported_parameter" } }`

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.