Enhance regex pattern with expanded CJK character support and fix import sorting

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-24 08:09:29 +00:00
parent b2661f0078
commit 168e3c99d5
3 changed files with 10 additions and 3 deletions

View File

@@ -1,9 +1,11 @@
import pytest
import re
import pytest
from crewai.agent import Agent
from crewai.knowledge.source.string_knowledge_source import StringKnowledgeSource
def test_agent_with_chinese_role_name():
"""Test that an agent with a Chinese role name works correctly."""
# Create a knowledge source with some content