mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-08-10 00:11:57 +00:00
Class-level CrewAIEventsBus.emit patches are unreliable under pytest --import-mode=importlib / xdist. Patch the singleton instance instead so streaming finish-reason and usage-event tests observe emits. Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>