fix: add_startup 传函数引用(非协程对象)

This commit is contained in:
yumoqing 2026-08-05 17:27:24 +08:00
parent 4c0b349718
commit 0bd9609532

View File

@ -457,7 +457,7 @@ def load_pipeline_service():
await asyncio.sleep(10)
from ahserver.configuredServer import add_startup
add_startup(_role_poller())
add_startup(_role_poller)
debug(f"[{MODULE_NAME}] v{MODULE_VERSION} loaded — pipeline engine with role-agent + question loop")
return True