You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Auto review fails with ChatGPT/Codex: Unsupported parameter: temperature
#12495
Provider: openai-codex, authenticated through a ChatGPT subscription.
Steps to reproduce
Select a GPT model through the Codex provider.
Enable Auto review for the current session.
Ask the agent: “Run only pwd. Do not modify anything.”
Actual behavior
The review request fails before the tool executes:
Auto review of tool "skill" failed; its body was not executed:
auto-review: reviewer ended with error PI_AI_ERROR:
Codex error: Unsupported parameter: temperature
The structured error code is AUTO_REVIEW_FAILED.
Expected behavior
Auto review should evaluate the tool call and either allow it or request user approval, without failing because of an unsupported request parameter.
Root cause
The classifyRisk function unconditionally sends temperature: 0. The ChatGPT/Codex endpoint rejects this parameter, including zero.
Proposed minimal patch
Omit temperature for openai-codex, preserving the existing setting for other providers.
Based on commit fcc0ad462172522aaf5c93a7b2e01f6b9f0b0159:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Environment
0.2.2-rc.1, macOS.@deepseek-ai/dsh-experimental-auto-review.openai-codex, authenticated through a ChatGPT subscription.Steps to reproduce
pwd. Do not modify anything.”Actual behavior
The review request fails before the tool executes:
The structured error code is
AUTO_REVIEW_FAILED.Expected behavior
Auto review should evaluate the tool call and either allow it or request user approval, without failing because of an unsupported request parameter.
Root cause
The
classifyRiskfunction unconditionally sendstemperature: 0. The ChatGPT/Codex endpoint rejects this parameter, including zero.Proposed minimal patch
Omit
temperatureforopenai-codex, preserving the existing setting for other providers.Based on commit
fcc0ad462172522aaf5c93a7b2e01f6b9f0b0159:This leaves the authorization policy, review history, strict response validation, and fail-closed behavior unchanged.
All reactions