Commit Graph

4 Commits

Author SHA1 Message Date
Devin AI
3894e768ba Fix: Sort imports in test file to fix lint issues
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-04-17 07:13:19 +00:00
Devin AI
b42bf306ee Fix: Replace emojis with ASCII alternatives to fix GBK encoding issues on Windows (issue #2628)
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-04-17 07:11:04 +00:00
Vini Brasil
f845fac4da Refactor event base classes (#2491)
- Renamed `CrewEvent` to `BaseEvent` across the codebase for consistency
- Created a `CrewBaseEvent` that automatically identifies fingerprints for DRY
- Added a new `to_json()` method for serializing events
2025-03-27 15:42:11 -03:00
Vini Brasil
bbe896d48c Support wildcard handling in emit() (#2424)
* Support wildcard handling in `emit()`

Change `emit()` to call handlers registered for parent classes using
`isinstance()`. Ensures that base event handlers receive derived
events.

* Fix failing test

* Remove unused variable
2025-03-20 09:59:17 -04:00