Skip to content

v5.5.90

Choose a tag to compare

@github-actions github-actions released this 30 Aug 03:16
· 649 commits to master since this release
ca14d2a

Auto-released from merge of PR #1144 (trigger: push).

  • Requests carrying a temperature (or any other sampling parameter) no longer 400 against a ChatGPT subscription (dario#1144). The Codex backend is not the public Responses API: it rejects a whole class of parameters by name, one 400 {"detail":"Unsupported parameter: …"} at a time. Probed directly against a live subscription: temperature, top_p, max_output_tokens, presence_penalty, frequency_penalty, seed, metadata, top_logprobs, truncation and service_tier are all refused, while tools, tool_choice, parallel_tool_calls, reasoning and instructions are fine. temperature is the one that bit: forge sets it from an agent's provider_config, so askalf's own GPT code reviewer 400'd on every single dispatch — and chatCompletionsToResponses passes it straight through, so the OpenAI path was equally broken for any client that sends one, which most do. v5.5.88 dropped max_output_tokens specifically; that treated the symptom. The transport now scrubs the body against an ALLOWLIST of the fields this backend accepts. An allowlist and not a list of the ten known-bad names, deliberately: the backend is undocumented and restrictive, so dropping an unknown field costs one degraded request while sending one breaks every request. Both request builders stay correct against an API-key Responses endpoint, because the scrub happens at the transport that knows which backend it is talking to.

Built + tested + npm-published inline by cc-drift-auto-release.yml on this run — tokenless via OIDC trusted publishing, provenance-attested. See the workflow log for the publish output.