[Frontend] MQLLMEngine supports profiling. (#8761)

This commit is contained in:
科英
2024-09-25 09:37:41 -07:00
committed by GitHub
parent 28e1299e60
commit 64840dfae4
3 changed files with 45 additions and 7 deletions
+7 -1
View File
@@ -107,7 +107,13 @@ class RPCStartupResponse:
tracing_enabled: bool
RPC_REQUEST_T = Union[RPCProcessRequest, RPCAbortRequest, RPCStartupRequest]
class RPCUProfileRequest(Enum):
START_PROFILE = 1
STOP_PROFILE = 2
RPC_REQUEST_T = Union[RPCProcessRequest, RPCAbortRequest, RPCStartupRequest,
RPCUProfileRequest]
REQUEST_OUTPUTS_T = Union[List[RequestOutput], RPCError]