feat(cmd_service): initialize service context on command service startup

This commit is contained in:
jinli.yl 2026-01-31 01:17:00 +08:00
parent 3680571c94
commit 0163cb25ce
2 changed files with 2 additions and 1 deletions

View file

@ -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()

View file

@ -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."""