Skip to content

fix: normalize minimal effort for documented OpenAI models - #59

Merged
rezaho merged 2 commits into
mainfrom
fix/supported-minimal-effort
Sep 9, 2026
Merged

fix: normalize minimal effort for documented OpenAI models#59
rezaho merged 2 commits into
mainfrom
fix/supported-minimal-effort

Conversation

@rezaho

@rezaho rezaho commented Sep 9, 2026

Copy link
Copy Markdown
Owner

reasoning_effort="minimal" and small positive thinking budgets produced unsupported minimal requests for GPT-5.4 Mini and GPT-5.5 on both OpenAI API-key and OAuth paths. Their documented least positive effort is low.

A shared compatibility helper now selects low for the verified GPT-5.1, GPT-5.2, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano and GPT-5.5 aliases and their documented snapshots. Both adapters use it. The existing Codex rule and Azure override remain intact; legacy GPT-5 keeps minimal, and unset controls still omit effort. Exact model matching avoids making assumptions about pro variants or future models. No new effort values or model catalog entries, including no expansion of the OAuth model catalog.

Validation: 274 targeted tests passed with four xdist workers. New regressions exercise real BaseAPIModel sync/async calls for both providers, capture final transport payloads, and cover documented aliases/snapshots. Nano invocation coverage uses the API-key path. Against the unchanged merged baseline, 36 new cases failed on minimal instead of low, with 82 passing controls; the additional nano cases separately failed before the two-ID addition (8 failures, 10 controls passing). Related OAuth forwarding, cache-key, Azure, schema, token-refresh and streaming tests pass. No live model calls or credential reads.

Model contracts: GPT-5.1, GPT-5.2, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.5.

@rezaho
rezaho merged commit 47ce23e into main Sep 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant