fix: 修复 list_run_stream_events 函数中的格式错误,确保 after_seq 参数正确包裹 Fixes 这里有个奇怪的没闭合的左括号,我去掉后突然好使了
Fixes #605
This commit is contained in:
parent
6b9b0a0637
commit
81aeadf5cf
@ -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 = []
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user