MCPcopy
hub / github.com/modelscope/ms-swift / get_url_suffix

Function get_url_suffix

scripts/utils/run_model_info.py:9–12  ·  view source on GitHub ↗
(model_id)

Source from the content-addressed store, hash-verified

7
8
9def get_url_suffix(model_id):
10 if ':' in model_id:
11 return model_id.split(':')[0]
12 return model_id
13
14
15supported_mcore_model_types = None

Callers 1

get_model_info_tableFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected