Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
7
def
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
13
def
test_req_init(req):
Callers
nothing calls this directly
Calls
2
init
Method · 0.95
Req
Class · 0.90
Tested by
no test coverage detected