MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / get_model_path

Function get_model_path

tests/tools.py:197–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196
197def get_model_path() -> str:
198 path = os.environ.get(MODEL_PATH_ENV_VAR)
199 if not path:
200 raise EnvironmentError(
201 f"Please set `export {MODEL_PATH_ENV_VAR}=<your_model_dir>` before running this test."
202 )
203 return path
204
205
206def get_api_model_path() -> str:

Callers 15

setUpMethod · 0.90
setUpMethod · 0.90
asyncSetUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
test_multi_stage_runMethod · 0.90
setUpMethod · 0.90

Calls 1

getMethod · 0.45

Tested by 15

setUpMethod · 0.72
setUpMethod · 0.72
asyncSetUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
test_multi_stage_runMethod · 0.72
setUpMethod · 0.72