add codex-mini to model list
This commit is contained in:
@@ -42,7 +42,7 @@ def ollama_tags() -> Response:
|
|||||||
if bool(current_app.config.get("VERBOSE")):
|
if bool(current_app.config.get("VERBOSE")):
|
||||||
print("IN GET /api/tags")
|
print("IN GET /api/tags")
|
||||||
expose_variants = bool(current_app.config.get("EXPOSE_REASONING_MODELS"))
|
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:
|
if expose_variants:
|
||||||
model_ids.extend(
|
model_ids.extend(
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -436,6 +436,7 @@ def list_models() -> Response:
|
|||||||
model_groups = [
|
model_groups = [
|
||||||
("gpt-5", ["high", "medium", "low", "minimal"]),
|
("gpt-5", ["high", "medium", "low", "minimal"]),
|
||||||
("gpt-5-codex", ["high", "medium", "low"]),
|
("gpt-5-codex", ["high", "medium", "low"]),
|
||||||
|
("codex-mini", []),
|
||||||
]
|
]
|
||||||
model_ids: List[str] = []
|
model_ids: List[str] = []
|
||||||
for base, efforts in model_groups:
|
for base, efforts in model_groups:
|
||||||
|
|||||||
Reference in New Issue
Block a user