Files
crewAI/tests/utilities/events/utils/__init__.py
Devin AI 4e288e4cf7 feat: Add CREWAI_DISABLE_EMOJIS environment variable to disable emojis in logs
- Add environment variable CREWAI_DISABLE_EMOJIS to control emoji usage
- Create comprehensive emoji-to-text mapping for runtime compatibility
- Implement _get_icon() helper method in ConsoleFormatter
- Replace all hardcoded emojis with dynamic icon selection
- Add comprehensive test suite covering all emoji disable scenarios
- Maintain backward compatibility (emojis enabled by default)
- Fixes issue #3062 for Azure Functions and similar runtime environments

Co-Authored-By: João <joao@crewai.com>
2025-06-25 12:57:26 +00:00

2 lines
1 B
Python