MCPcopy
hub / github.com/ModelTC/LightLLM / req

Function req

unit_tests/server/core/objs/test_req.py:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6@pytest.fixture
7def req():
8 req_instance = Req()
9 req_instance.init(1, [1, 2, 3], {"max_new_tokens": 1}, None, chunked_prefill_size=128)
10 return req_instance
11
12
13def test_req_init(req):

Callers

nothing calls this directly

Calls 2

initMethod · 0.95
ReqClass · 0.90

Tested by

no test coverage detected