From 180a69ca673987e1388383c71b49678cbe7ed0e5 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Wed, 11 Feb 2026 10:25:46 +0800 Subject: [PATCH] Fix delta final priority problem in backend --- engine/core/duplex_pipeline.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/core/duplex_pipeline.py b/engine/core/duplex_pipeline.py index 8527144..b6b0ab1 100644 --- a/engine/core/duplex_pipeline.py +++ b/engine/core/duplex_pipeline.py @@ -939,7 +939,9 @@ class DuplexPipeline: text=text_chunk, ) }, - priority=40, + # Keep delta/final on the same event priority so FIFO seq + # preserves stream order (avoid late-delta after final). + priority=20, ) while True: