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

Function _parse_mode_value

uncommon_route/proxy.py:2483–2484  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

2481
2482
2483def _parse_mode_value(value: str) -> RoutingMode:
2484 return RoutingMode(str(value).strip().lower())
2485
2486
2487def _parse_tier_value(value: str) -> Tier:

Callers 4

_normalize_selector_bodyFunction · 0.85
create_appFunction · 0.85
handle_selectorFunction · 0.85
handle_routing_configFunction · 0.85

Calls 1

RoutingModeClass · 0.90

Tested by

no test coverage detected