opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Bug]: GPT-5-nano does temperature = 0

Open BB-BenBridges opened this issue 3 months ago • 5 comments
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.

BB-BenBridges avatar Aug 08 '25 10:08 BB-BenBridges