mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
test: Add embedder_config to contextual memory test
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -2322,6 +2322,12 @@ def test_using_contextual_memory():
|
||||
agents=[math_researcher],
|
||||
tasks=[task1],
|
||||
memory=True,
|
||||
embedder_config={
|
||||
"provider": "openai",
|
||||
"config": {
|
||||
"api_key": "fake-api-key"
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
with patch.object(ContextualMemory, "build_context_for_task") as contextual_mem:
|
||||
|
||||
Reference in New Issue
Block a user