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

Function get_selection_weights

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

Source from the content-addressed store, hash-verified

98
99
100def get_selection_weights(config: RoutingConfig, mode: RoutingMode) -> SelectionWeights:
101 return get_mode_config(config, mode).selection
102
103
104def get_bandit_config(config: RoutingConfig, mode: RoutingMode) -> BanditConfig:

Calls 1

get_mode_configFunction · 0.85