feat: Add GPT-5.4 mini. (#101)

* feat: Add gpt-5.4-mini.

This just adds gpt-5.4-mini at (low/med/high/xhigh) reasoning levels.

* Fix formatting in README for reasoning effort section

---------

Co-authored-by: Ra's al Ghul <ras@alghul.com>
Co-authored-by: Game_Time <108236317+RayBytes@users.noreply.github.com>
This commit is contained in:
Ra's al Ghul
2026-03-22 12:32:32 -04:00
committed by GitHub
parent d8ba913d73
commit e96db19538
4 changed files with 23 additions and 5 deletions

View File

@@ -47,6 +47,13 @@ _MODEL_SPECS = (
allowed_efforts=frozenset(("none", "low", "medium", "high", "xhigh")),
variant_efforts=("xhigh", "high", "medium", "low", "none"),
),
ModelSpec(
public_id="gpt-5.4-mini",
upstream_id="gpt-5.4-mini",
aliases=("gpt5.4-mini", "gpt-5.4-mini-latest"),
allowed_efforts=frozenset(("low", "medium", "high", "xhigh")),
variant_efforts=("xhigh", "high", "medium", "low"),
),
ModelSpec(
public_id="gpt-5.3-codex",
upstream_id="gpt-5.3-codex",