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

Function get_vision_language_model_path

tests/tools.py:233–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231
232
233def get_vision_language_model_path() -> str:
234 path = os.environ.get(VLM_MODEL_PATH_ENV_VAR)
235 if not path:
236 raise EnvironmentError(
237 f"Please set `export {VLM_MODEL_PATH_ENV_VAR}=<your_model_dir>` before running this test."
238 )
239 return path
240
241
242def get_alternative_vision_language_model_path() -> str:

Callers 5

test_trainerMethod · 0.90
setUpMethod · 0.90
test_mm_messagesMethod · 0.90

Calls 1

getMethod · 0.45

Tested by 5

test_trainerMethod · 0.72
setUpMethod · 0.72
test_mm_messagesMethod · 0.72