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

Function api_train_stream

helper_api.py:1312–1317  ·  view source on GitHub ↗
(payload: TrainRequest)

Source from the content-addressed store, hash-verified

1310
1311@app.post("/api/train/stream")
1312def api_train_stream(payload: TrainRequest):
1313 _train_script_and_env(payload)
1314 return StreamingResponse(
1315 _stream_train(payload),
1316 media_type="text/plain; charset=utf-8",
1317 )
1318
1319
1320@app.post("/api/tests/run")

Callers

nothing calls this directly

Calls 2

_train_script_and_envFunction · 0.85
_stream_trainFunction · 0.85

Tested by

no test coverage detected