MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / map_model

Method map_model

optillm/plugins/proxy/client.py:66–68  ·  view source on GitHub ↗

Map requested model to provider-specific name

(self, model: str)

Source from the content-addressed store, hash-verified

64 return self._client
65
66 def map_model(self, model: str) -> str:
67 """Map requested model to provider-specific name"""
68 return self.model_map.get(model, model)
69
70 def track_latency(self, latency: float):
71 """Track request latency"""

Callers 1

createMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected