continuedev / continuedev/continue
Unable to remove "stop" parameter from autocomplete request for gpt-5-nano
Open
@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
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
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
- Configure gpt-5-nano as autocomplete model.
- Select it in the config
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.