Add support for GPT-5.2

This commit is contained in:
Game_Time
2025-12-12 01:39:56 +05:00
parent ae3df9f6bc
commit c6eec41d25
8 changed files with 18 additions and 5 deletions

View File

@@ -11,6 +11,8 @@ def allowed_efforts_for_model(model: str | None) -> Set[str]:
if not base:
return DEFAULT_REASONING_EFFORTS
normalized = base.split(":", 1)[0]
if normalized.startswith("gpt-5.2"):
return {"none", "low", "medium", "high", "xhigh"}
if normalized.startswith("gpt-5.1-codex-max"):
return {"low", "medium", "high", "xhigh"}
if normalized.startswith("gpt-5.1"):