MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / RPCResponse

Class RPCResponse

tensorrt_llm/executor/rpc/rpc_common.py:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86@dataclass
87class RPCResponse:
88 request_id: str
89 _: KW_ONLY
90 result: Any
91 error: Optional[RPCError] = None
92 is_streaming: bool = False # True if more responses coming
93 chunk_index: int = 0 # For ordering streaming responses
94 stream_status: Literal['start', 'data', 'end', 'error'] = 'data'

Callers 6

_send_error_responseMethod · 0.85
_process_requestMethod · 0.85
stream_with_timeoutMethod · 0.85
_send_responseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected