Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
ac69573afa Fix lint: Remove unused pytest import
Co-Authored-By: João <joao@crewai.com>
2025-08-13 12:58:26 +00:00
Devin AI
70104e9651 Fix verbose output to show task names instead of UUIDs
- Modified event listener to pass task objects instead of IDs to console formatter
- Updated console formatter methods to display task names with ID fallback
- Added helper method _get_task_display_name with fallback logic:
  1. Task name + partial ID: 'Research Analysis (ID: 12345678...)'
  2. Description + partial ID: 'Analyze market trends... (ID: 12345678...)'
  3. Full ID as final fallback: '12345678-1234-5678-9012-123456789abc'
- Added comprehensive tests for verbose output functionality

Fixes #3310

Co-Authored-By: João <joao@crewai.com>
2025-08-13 12:55:13 +00:00