MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _reload_providers

Function _reload_providers

uncommon_route/proxy.py:2857–2862  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2855 _routing_config = updated
2856
2857 def _reload_providers() -> ProvidersConfig:
2858 nonlocal _providers, _semantic
2859 _providers = load_providers()
2860 if isinstance(_semantic, UpstreamSemanticCompressor):
2861 _semantic.rebind_providers(_providers)
2862 return _providers
2863
2864 def _current_connection_payload() -> dict[str, Any]:
2865 effective = resolve_primary_connection(

Callers 2

handle_providersFunction · 0.85
handle_provider_detailFunction · 0.85

Calls 2

load_providersFunction · 0.90
rebind_providersMethod · 0.80

Tested by

no test coverage detected