From d438f5a7d4c56d0ea59f08fbde9b70a0f9cb69b4 Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Fri, 24 Jan 2025 15:36:20 -0800 Subject: [PATCH] fix --- tests/agent_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/agent_test.py b/tests/agent_test.py index c506b3f27..03dd0abe2 100644 --- a/tests/agent_test.py +++ b/tests/agent_test.py @@ -1635,11 +1635,12 @@ def test_agent_with_knowledge_sources_works_with_copy(): goal=agent.goal, backstory=agent.backstory, llm=agent.llm, - knowledge_sources=agent.knowledge_sources, + knowledge_sources=[string_source], ) # Call copy method agent_copy = agent.copy() + print("agent_copy.knowledge_sources", agent_copy.knowledge_sources) # Verify the mock was called mock_copy.assert_called_once()