MCPcopy
hub / github.com/IPADS-SAI/MobiAgent / get_model_path

Function get_model_path

utils/weights_manager.py:210–212  ·  view source on GitHub ↗

获取模型路径的便捷函数

(model_name: str)

Source from the content-addressed store, hash-verified

208 return _global_weights_manager
209
210def get_model_path(model_name: str) -> Optional[str]:
211 """获取模型路径的便捷函数"""
212 return get_weights_manager().get_model_path(model_name)
213
214def list_available_models() -> Dict[str, str]:
215 """列出可用模型的便捷函数"""

Callers

nothing calls this directly

Calls 2

get_weights_managerFunction · 0.85
get_model_pathMethod · 0.80

Tested by

no test coverage detected