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

Function _core

uncommon_route/model_map.py:299–301  ·  view source on GitHub ↗

Model name without provider prefix.

(model_id: str)

Source from the content-addressed store, hash-verified

297
298
299def _core(model_id: str) -> str:
300 """Model name without provider prefix."""
301 return model_id.split("/", 1)[-1] if "/" in model_id else model_id
302
303
304def _provider_prefix(model_id: str) -> str:

Callers 2

is_routable_chat_modelFunction · 0.85
_fuzzy_matchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected