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

Method unresolved_models

uncommon_route/model_map.py:648–659  ·  view source on GitHub ↗

Internal names that have no confirmed upstream equivalent.

(self)

Source from the content-addressed store, hash-verified

646 return resolved in self._upstream_models
647
648 def unresolved_models(self) -> list[str]:
649 """Internal names that have no confirmed upstream equivalent."""
650 if not self._discovered:
651 return []
652 from uncommon_route.router.config import DEFAULT_MODEL_PRICING
653
654 out: list[str] = []
655 for name in DEFAULT_MODEL_PRICING:
656 resolved = self.resolve(name)
657 if resolved not in self._upstream_models:
658 out.append(name)
659 return out
660
661 def mapping_table(self) -> list[dict[str, str | bool | None]]:
662 """Legacy mapping table for backward-compat dashboard."""

Callers 6

_cmd_doctorFunction · 0.95
_on_startupFunction · 0.80
handle_healthFunction · 0.80
handle_models_mappingFunction · 0.80

Calls 2

resolveMethod · 0.95
appendMethod · 0.45