MCPcopy
hub / github.com/langroid/langroid / _get_model_info

Function _get_model_info

langroid/language_models/model_info.py:803–806  ·  view source on GitHub ↗
(model: str | ModelName)

Source from the content-addressed store, hash-verified

801
802
803def _get_model_info(model: str | ModelName) -> ModelInfo | None:
804 if isinstance(model, str):
805 return MODEL_INFO.get(model)
806 return MODEL_INFO.get(model.value)
807
808
809def _normalize_model_names(models: List[str | ModelName]) -> List[str]:

Callers 1

get_model_infoFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…