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

Function _is_virtual_model_name

uncommon_route/proxy.py:654–656  ·  view source on GitHub ↗
(model: str)

Source from the content-addressed store, hash-verified

652
653
654def _is_virtual_model_name(model: str) -> bool:
655 normalized = str(model or "").strip().lower()
656 return routing_mode_from_model(normalized) is not None
657
658
659def _capture_enabled() -> bool:

Callers 1

_handle_chat_coreFunction · 0.85

Calls 1

routing_mode_from_modelFunction · 0.90

Tested by

no test coverage detected