-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
area:configurationRelates to configuration optionsRelates to configuration optionskind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
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
Description
When using gpt-5, I get:
400 Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
The reason is that only the o-series models apply the patch, gpt-5 doesn't trigger it:
continue/core/llm/llms/OpenAI.ts
Line 143 in ab4bb9c
| // a) use max_completion_tokens instead of max_tokens |
To reproduce
No response
Log output
Phalanxia
Metadata
Metadata
Assignees
Labels
area:configurationRelates to configuration optionsRelates to configuration optionskind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Type
Projects
Status
Done