Remove 'none' from GPT-5.2
This commit is contained in:
@@ -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"):
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"]),
|
||||
|
||||
Reference in New Issue
Block a user