mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
test: Update error message in test_agent_invalid_embedder_config
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -40,7 +40,7 @@ def mock_vector_db():
|
||||
|
||||
def test_agent_invalid_embedder_config():
|
||||
"""Test that an invalid embedder configuration raises a ValueError."""
|
||||
with pytest.raises(ValueError, match="embedder_config must be a dictionary"):
|
||||
with pytest.raises(ValueError, match="Input should be a valid dictionary"):
|
||||
Agent(
|
||||
role="test role",
|
||||
goal="test goal",
|
||||
|
||||
Reference in New Issue
Block a user