opencommit
opencommit copied to clipboard
[Bug]: GPT-5-nano does temperature = 0
trafficstars
Opencommit Version
3.2.10
Node Version
20.19.3
NPM Version
10.8.2
What OS are you seeing the problem on?
Mac
What happened?
When generating a commit message using gpt-5-nano i get the following error:
2025-08-08 11:36:12.822 [info] ā opencommit
[?25lā
ā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
ā
ā ā Error: 400 Unsupported value: 'temperature' does not support 0 with this model. Only the default (1) value is supported.
Expected Behavior
No errors, commit message is generated
Current Behavior
2025-08-08 11:36:12.822 [info] ā opencommit
[?25lā
ā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
ā
ā ā Error: 400 Unsupported value: 'temperature' does not support 0 with this model. Only the default (1) value is supported.
Possible Solution
No response
Steps to Reproduce
Set the model to gpt-5-nano
Relevant log output
2025-08-08 11:36:12.822 [info] ā opencommit
[?25lā
ā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
[999D[1Aā Generating commit message
ā
ā ā Error: 400 Unsupported value: 'temperature' does not support 0 with this model. Only the default (1) value is supported.