mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 05:08:12 +00:00
Root cause: test_gap_implementations.py assigned directly to crewai_event_bus.emit (instance attribute), which shadowed the class method even after restoration. Later tests using patch.object on the class couldn't intercept calls. Also converts all 19 positional crewai_event_bus.emit() calls across 8 new_agent files to use the event= keyword argument, matching the pattern in llm.py. Adds <summary> tag stripping for both ainvoke() and astream() to prevent summarization prompt leakage in agent responses. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>