Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreedomIntelligence/CMB
/ get_runner_class
Function
get_runner_class
src/utils.py:17–22 ·
view source on GitHub ↗
(model_id)
Source
from the content-addressed store, hash-verified
15
16
17
def
get_runner_class(model_id):
18
cls = id2worker_class.get(model_id, None)
19
if
cls is None:
20
print(f
"{model_id} is not registered in src/constants.py"
)
21
exit(1)
22
return
cls
23
24
25
def
match_choice(text, cot_flag):
Callers
1
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected