fix: show config-managed custom providers

This commit is contained in:
Michael Lam
2026-05-20 06:22:46 -07:00
parent 9c983e693a
commit 8ef8fae831
4 changed files with 70 additions and 43 deletions
+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