don't include internal models in /v1/models endpoint

This commit is contained in:
Adil Hafeez 2026-01-08 16:41:47 -08:00
parent c1c808feb2
commit 02c3a572c4
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
2 changed files with 45 additions and 0 deletions

View file

@ -310,6 +310,7 @@ def validate_and_render_schema():
"name": "arch-router",
"provider_interface": "arch",
"model": config_yaml.get("routing", {}).get("model", "Arch-Router"),
"internal": True,
}
)
@ -320,6 +321,7 @@ def validate_and_render_schema():
"name": "arch-function",
"provider_interface": "arch",
"model": "Arch-Function",
"internal": True,
}
)
@ -329,6 +331,7 @@ def validate_and_render_schema():
"name": "plano-orchestrator",
"provider_interface": "arch",
"model": "Plano-Orchestrator",
"internal": True,
}
)