fix(pipeline): preserve routed flag when aggregating (#2196)

This commit is contained in:
huanghuoguoguo
2026-05-16 11:35:00 +08:00
committed by GitHub
parent 484643c0ee
commit 27fdccce16
2 changed files with 43 additions and 0 deletions

View File

@@ -275,6 +275,7 @@ class MessageAggregator:
message_chain=merged_chain,
adapter=base_msg.adapter,
pipeline_uuid=base_msg.pipeline_uuid,
routed_by_rule=any(msg.routed_by_rule for msg in messages),
)
async def flush_all(self) -> None: