From 0163cb25ce91a51b0eb2d0f0b1433ad0bbb86cdc Mon Sep 17 00:00:00 2001 From: "jinli.yl" Date: Sat, 31 Jan 2026 01:17:00 +0800 Subject: [PATCH] feat(cmd_service): initialize service context on command service startup --- benchmark/halumem/eval_reme.py | 2 +- reme/core/service/cmd_service.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/halumem/eval_reme.py b/benchmark/halumem/eval_reme.py index 052b68ca..4ebe032b 100644 --- a/benchmark/halumem/eval_reme.py +++ b/benchmark/halumem/eval_reme.py @@ -951,7 +951,7 @@ if __name__ == "__main__": "--algo_version", type=str, default="halumem", - help="Algorithm version for summary and retrieval (default: v1)" + help="Algorithm version for summary and retrieval (default: halumem)" ) args = parser.parse_args() diff --git a/reme/core/service/cmd_service.py b/reme/core/service/cmd_service.py index 18d147a6..b6ff08fb 100644 --- a/reme/core/service/cmd_service.py +++ b/reme/core/service/cmd_service.py @@ -14,6 +14,7 @@ class CmdService(BaseService): """Initialize the command service instance.""" super().__init__(**kwargs) self._cmd_flow: CmdFlow | None = None + run_coro_safely(self.service_context.start()) def integrate_flow(self, flow: BaseFlow) -> str | None: """Integrate the workflow configuration into the command service."""