fix: show config-managed custom providers

This commit is contained in:
Michael Lam committed 2026-05-20 06:27:00 -07:00
1 parent 9c983e693a
commit 8ef8fae831
4 files changed
+70 -43

No files matched your search

+2
View File
@@ -1984,8 +1984,10 @@ def get_providers() -> dict[str, Any]:
"display_name": cp_name,
"has_key": cp_has_key,
"configurable": False, # custom providers managed via config.yaml
"is_custom": True,
"key_source": "config_yaml" if cp_has_key else "none",
"models": cp_models,
"models_total": len(cp_models),
})
# Determine active provider