don't include internal models in /v1/models endpoint (#685)

This commit is contained in:
Adil Hafeez 2026-01-09 16:57:41 -08:00 committed by GitHub
parent c1c808feb2
commit ab391f96c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 49 additions and 2 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,
}
)