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
- 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" } }`
Before submitting your bug report
Relevant environment info
Description
GPT-5-nano does not support the
stopparameter 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
Log output
`{ "error": { "message": "Unsupported parameter: 'stop' is not supported with this model.", "type": "invalid_request_error", "param": "stop", "code": "unsupported_parameter" } }`