add codex-mini to model list

This commit is contained in:
Game_Time
2025-09-18 11:41:22 +05:00
parent c2e769e496
commit bf16fbe3e1
2 changed files with 2 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ def ollama_tags() -> Response:
if bool(current_app.config.get("VERBOSE")):
print("IN GET /api/tags")
expose_variants = bool(current_app.config.get("EXPOSE_REASONING_MODELS"))
model_ids = ["gpt-5", "gpt-5-codex"]
model_ids = ["gpt-5", "gpt-5-codex", "codex-mini"]
if expose_variants:
model_ids.extend(
[

View File

@@ -436,6 +436,7 @@ def list_models() -> Response:
model_groups = [
("gpt-5", ["high", "medium", "low", "minimal"]),
("gpt-5-codex", ["high", "medium", "low"]),
("codex-mini", []),
]
model_ids: List[str] = []
for base, efforts in model_groups: