MCPcopy Create free account
hub / github.com/SunOner/sunone_aimbot / _export_model_path

Function _export_model_path

helper_api.py:928–932  ·  view source on GitHub ↗
(model_name: str)

Source from the content-addressed store, hash-verified

926
927
928def _export_model_path(model_name: str) -> Path:
929 model_path = MODELS_DIR / model_name
930 if not model_path.exists():
931 raise HTTPException(status_code=400, detail=f"Model not found: {model_name}")
932 return model_path
933
934
935def _build_export_script(model_path: Path, params: dict[str, Any]) -> str:

Callers 2

api_exportFunction · 0.85
api_export_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected