Add support for GPT-5.4 (#93)

Co-authored-by: Nigel Norris <ras@alghul.com>
This commit is contained in:
Ra's al Ghul
2026-03-08 07:08:14 -04:00
committed by GitHub
parent 5b51b53a20
commit baf312a02e
6 changed files with 21 additions and 6 deletions

View File

@@ -311,7 +311,7 @@ def main() -> None:
)
p_serve.add_argument(
"--reasoning-effort",
choices=["minimal", "low", "medium", "high", "xhigh"],
choices=["none", "minimal", "low", "medium", "high", "xhigh"],
default=os.getenv("CHATGPT_LOCAL_REASONING_EFFORT", "medium").lower(),
help="Reasoning effort level for Responses API (default: medium)",
)
@@ -335,7 +335,7 @@ def main() -> None:
action="store_true",
default=(os.getenv("CHATGPT_LOCAL_EXPOSE_REASONING_MODELS") or "").strip().lower() in ("1", "true", "yes", "on"),
help=(
"Expose GPT-5 family reasoning effort variants (minimal|low|medium|high|xhigh where supported) "
"Expose GPT-5 family reasoning effort variants (none|minimal|low|medium|high|xhigh where supported) "
"as separate models from /v1/models. This allows choosing effort via model selection in compatible UIs."
),
)