Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Description

This PR fixes issue #2628 by replacing emojis in the console formatter with ASCII alternatives to prevent blocking errors with GBK encoding on Windows systems.

Problem

Emojis in the codebase were causing blocking errors when using GBK character encoding (commonly used on Windows systems, especially for Chinese users). This made CrewAI unusable for some Windows users.

Solution

  • Replaced all emojis in console_formatter.py with ASCII alternatives that are compatible with GBK encoding
  • Added a test to verify that the console formatter works correctly with GBK encoding

Emoji Replacements

  • ✅ -> [OK]
  • ❌ -> [FAIL]
  • 🤖 -> [AGENT]
  • 🚀 -> [LAUNCH]
  • 📋 -> [TASK]
  • 🧠 -> [THINKING]
  • 🔄 -> [RUNNING]
  • 🔧 -> [TOOL]
  • ✨ -> [NEW]
  • 🌊 -> [FLOW]
  • 🧪 -> [TEST]

Testing

Added a test that verifies the console formatter output can be encoded with GBK without errors.

Closes #2628

Link to Devin run: https://app.devin.ai/sessions/f38ae3bd18794b4181bf360c6b77a68a
Requested by: Joe Moura (joao@crewai.com)

…s on Windows (issue #2628)

Co-Authored-By: Joe Moura <joao@crewai.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Joe Moura <joao@crewai.com>
@devin-ai-integration
Copy link
Contributor Author

Closing due to inactivity for more than 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]

1 participant