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

Function _selection_weights_payload

uncommon_route/proxy.py:2387–2388  ·  view source on GitHub ↗
(config, mode_value: str)

Source from the content-addressed store, hash-verified

2385
2386
2387def _selection_weights_payload(config, mode_value: str) -> dict[str, float]:
2388 return dict(_selection_modes_payload(config).get(str(mode_value or "").strip().lower(), {}))
2389
2390
2391def _bandit_modes_payload(config) -> dict[str, dict[str, object]]:

Callers 1

_handle_chat_coreFunction · 0.85

Calls 2

_selection_modes_payloadFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected