Skip to content

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

@BB-BenBridges

Description

@BB-BenBridges

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions