MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / _normalize_model_id

Function _normalize_model_id

src/evaluation/evaluator.py:118–124  ·  view source on GitHub ↗
(model_id: str | None)

Source from the content-addressed store, hash-verified

116
117
118def _normalize_model_id(model_id: str | None) -> str:
119 if not model_id:
120 return ""
121 normalized = model_id.strip()
122 if normalized.startswith("litellm_proxy/"):
123 normalized = normalized[len("litellm_proxy/") :]
124 return normalized

Callers 1

_validate_judge_modelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected