MCPcopy Create free account
hub / github.com/InternScience/SciReason / parse_model_cfg

Function parse_model_cfg

tools/test_api_model.py:182–186  ·  view source on GitHub ↗
(model_cfg: ConfigDict)

Source from the content-addressed store, hash-verified

180
181
182def parse_model_cfg(model_cfg: ConfigDict) -> Dict[str, ConfigDict]:
183 model2cfg = {}
184 for model in model_cfg:
185 model2cfg[model_abbr_from_cfg(model)] = model
186 return model2cfg
187
188
189def main():

Callers 1

mainFunction · 0.70

Calls 1

model_abbr_from_cfgFunction · 0.90

Tested by

no test coverage detected