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

Function _mode_table

uncommon_route/routing_config_store.py:60–61  ·  view source on GitHub ↗
(config: RoutingConfig, mode: RoutingMode)

Source from the content-addressed store, hash-verified

58
59
60def _mode_table(config: RoutingConfig, mode: RoutingMode) -> dict[Tier, TierConfig]:
61 return get_mode_tiers(config, mode)
62
63
64def _normalize_fallback(primary: str, fallback: list[str]) -> list[str]:

Callers 3

configMethod · 0.85
exportMethod · 0.85
set_tierMethod · 0.85

Calls 1

get_mode_tiersFunction · 0.90

Tested by

no test coverage detected