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

Function get_mode_tiers

uncommon_route/router/config.py:96–97  ·  view source on GitHub ↗
(config: RoutingConfig, mode: RoutingMode)

Source from the content-addressed store, hash-verified

94
95
96def get_mode_tiers(config: RoutingConfig, mode: RoutingMode) -> dict[Tier, TierConfig]:
97 return get_mode_config(config, mode).tiers
98
99
100def get_selection_weights(config: RoutingConfig, mode: RoutingMode) -> SelectionWeights:

Callers 1

_mode_tableFunction · 0.90

Calls 1

get_mode_configFunction · 0.85

Tested by

no test coverage detected