Add support for GPT-5.4 (#93)
Co-authored-by: Nigel Norris <ras@alghul.com>
This commit is contained in:
@@ -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."
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user