MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / get_model_list

Function get_model_list

apps/models_provider/tools.py:63–70  ·  view source on GitHub ↗

获取模型列表 @param provider: 供应商字符串 @param model_type: 模型类型 @return: 模型列表

(provider, model_type)

Source from the content-addressed store, hash-verified

61
62
63def get_model_list(provider, model_type):
64 """
65 获取模型列表
66 @param provider: 供应商字符串
67 @param model_type: 模型类型
68 @return: 模型列表
69 """
70 return get_provider(provider).get_model_list(model_type)
71
72
73def get_model_credential(provider, model_type, model_name):

Callers

nothing calls this directly

Calls 2

get_providerFunction · 0.85
get_model_listMethod · 0.45

Tested by

no test coverage detected