MCPcopy
hub / github.com/lm-sys/FastChat / register_model_info

Function register_model_info

fastchat/model/model_registry.py:12–18  ·  view source on GitHub ↗
(
    full_names: List[str], simple_name: str, link: str, description: str
)

Source from the content-addressed store, hash-verified

10
11
12def register_model_info(
13 full_names: List[str], simple_name: str, link: str, description: str
14):
15 info = ModelInfo(simple_name, link, description)
16
17 for full_name in full_names:
18 model_info[full_name] = info
19
20
21def get_model_info(name: str) -> ModelInfo:

Callers 1

model_registry.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…