mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-05 01:02:37 +00:00
Concurrent streaming runs registered handlers on the singleton event bus that received all LLMStreamChunkEvent emissions, causing chunks to fan out across unrelated queues. Introduces a ContextVar-based stream scope ID so each handler only accepts events from its own execution context. Closes #5376
32 KiB
32 KiB