test: Add embedder_config to knowledge source tests

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-19 15:42:50 +00:00
parent 615a6795b3
commit 2f3e5e0803
2 changed files with 19 additions and 1 deletions

View File

@@ -45,7 +45,13 @@ def test_knowledge_included_in_planning(mock_chroma):
StringKnowledgeSource(
content="AI systems require careful training and validation."
)
]
],
embedder_config={
"provider": "openai",
"config": {
"api_key": "fake-api-key"
}
}
)
# Create a task for the agent