Remove 'none' from GPT-5.2

This commit is contained in:
Game_Time
2025-12-12 01:58:38 +05:00
parent c6eec41d25
commit 22fcc4d103
3 changed files with 2 additions and 3 deletions

View File

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

View File

@@ -117,7 +117,6 @@ def ollama_tags() -> Response:
"gpt-5.2-high",
"gpt-5.2-medium",
"gpt-5.2-low",
"gpt-5.2-none",
"gpt-5-codex-high",
"gpt-5-codex-medium",
"gpt-5-codex-low",

View File

@@ -534,7 +534,7 @@ def list_models() -> Response:
model_groups = [
("gpt-5", ["high", "medium", "low", "minimal"]),
("gpt-5.1", ["high", "medium", "low"]),
("gpt-5.2", ["xhigh", "high", "medium", "low", "none"]),
("gpt-5.2", ["xhigh", "high", "medium", "low"]),
("gpt-5-codex", ["high", "medium", "low"]),
("gpt-5.1-codex", ["high", "medium", "low"]),
("gpt-5.1-codex-max", ["xhigh", "high", "medium", "low"]),