What happened?
When using ProxyAI in PhpStorm with an OpenAI API token, requests fail with the following error:
Unsupported parameter: 'reasoning_effort' is not supported with this model
This happens in at least two places:
- Generating commit messages
- Selecting a code block and asking a question about it
The OpenAI token is successfully saved in the plugin settings, but actual requests fail.
Error message
Error from client: CodeGPTOpenAILLMClient
Status code: 400
Error body: {
"error": {
"message": "Unsupported parameter: 'reasoning_effort' is not supported with this model.",
"type": "invalid_request_error",
"param": "reasoning_effort",
"code": "unsupported_parameter"
}
}
### Relevant log output or stack trace
```shell
Unsupported parameter: 'reasoning_effort' is not supported with this model
Steps to reproduce
Open PhpStorm
Configure ProxyAI / CodeGPT plugin with a valid OpenAI API token
Try to generate a commit message
or
Select a code block and send a prompt/question to OpenAI
Observe the error
CodeGPT version
3.7.5-241.1
Operating System
Windows