[Bugfix] Keep pipeline event-driven defaults local

Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
Sy03 committed 2026-09-16 11:23:36 +08:00
1 parent b1e10b0235
commit be3ab91187
3 files changed
+9 -10

No files matched your search

+3 -1
View File
@@ -943,7 +943,9 @@ class AsyncOmni(EngineClient, OmniBase):
# event-driven loop (vllm_omni/engine/orchestrator.py).
from vllm_omni.engine.orchestrator import _event_driven_orch_enabled
event_driven_drain = _event_driven_orch_enabled() and hasattr(engine, "get_output_blocking_async")
event_driven_drain = _event_driven_orch_enabled(
default=bool(getattr(engine, "_event_driven_orch_default", False))
) and hasattr(engine, "get_output_blocking_async")
async def _final_output_loop():
"""Background coroutine that dispatches final outputs to request queues."""