From bf16fbe3e13b343d4dd5f01b96a25ea3b87a9349 Mon Sep 17 00:00:00 2001 From: Game_Time <108236317+RayBytes@users.noreply.github.com> Date: Thu, 18 Sep 2025 11:41:22 +0500 Subject: [PATCH] add codex-mini to model list --- chatmock/routes_ollama.py | 2 +- chatmock/routes_openai.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chatmock/routes_ollama.py b/chatmock/routes_ollama.py index d147bc5..a7bf99b 100644 --- a/chatmock/routes_ollama.py +++ b/chatmock/routes_ollama.py @@ -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( [ diff --git a/chatmock/routes_openai.py b/chatmock/routes_openai.py index 755b4e7..5f2001e 100644 --- a/chatmock/routes_openai.py +++ b/chatmock/routes_openai.py @@ -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: