From 81aeadf5cf29367f330b7f0ecab8f52f690a77a5 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Fri, 3 Apr 2026 12:12:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20list=5Frun=5Fstream?= =?UTF-8?q?=5Fevents=20=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E9=94=99=E8=AF=AF=EF=BC=8C=E7=A1=AE=E4=BF=9D=20after?= =?UTF-8?q?=5Fseq=20=E5=8F=82=E6=95=B0=E6=AD=A3=E7=A1=AE=E5=8C=85=E8=A3=B9?= =?UTF-8?q?=20=20Fixes=20=E8=BF=99=E9=87=8C=E6=9C=89=E4=B8=AA=E5=A5=87?= =?UTF-8?q?=E6=80=AA=E7=9A=84=E6=B2=A1=E9=97=AD=E5=90=88=E7=9A=84=E5=B7=A6?= =?UTF-8?q?=E6=8B=AC=E5=8F=B7=EF=BC=8C=E6=88=91=E5=8E=BB=E6=8E=89=E5=90=8E?= =?UTF-8?q?=E7=AA=81=E7=84=B6=E5=A5=BD=E4=BD=BF=E4=BA=86=20Fixes=20#605?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package/yuxi/services/run_queue_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package/yuxi/services/run_queue_service.py b/backend/package/yuxi/services/run_queue_service.py index 04079a8d..7d543b0a 100644 --- a/backend/package/yuxi/services/run_queue_service.py +++ b/backend/package/yuxi/services/run_queue_service.py @@ -190,7 +190,7 @@ async def list_run_stream_events( ) -> list[dict]: redis = await get_redis_client() key = _event_stream_key(run_id) - start = "-" if after_seq in {"0", "0-0", ""} else f"({after_seq}" + start = "-" if after_seq in {"0", "0-0", ""} else f"({after_seq})" rows = await redis.xrange(key, min=start, max="+", count=limit) events = []