[Core] Move EngineCoreRequest to Request conversion out of EngineCore (#21627)

Signed-off-by: linzebing <linzebing1995@gmail.com>
This commit is contained in:
Zebing Lin
2025-07-30 15:00:54 -07:00
committed by GitHub
parent 601f856d56
commit ca9e2be3ed
3 changed files with 73 additions and 48 deletions
+2 -1
View File
@@ -250,7 +250,8 @@ class InprocClient(EngineCoreClient):
return self.engine_core.get_supported_tasks()
def add_request(self, request: EngineCoreRequest) -> None:
self.engine_core.add_request(request)
req, request_wave = self.engine_core.preprocess_add_request(request)
self.engine_core.add_request(req, request_wave)
def abort_requests(self, request_ids: list[str]) -> None:
if len(request_ids) > 0: