From b92253bb13456ff973ed92ad0990d54939ff5304 Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Mon, 27 Jan 2025 15:16:37 -0800 Subject: [PATCH] printing agent_copy --- tests/agent_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/agent_test.py b/tests/agent_test.py index 55e018829..2d9a23238 100644 --- a/tests/agent_test.py +++ b/tests/agent_test.py @@ -1638,7 +1638,10 @@ def test_agent_with_knowledge_sources_works_with_copy(): agent.knowledge_sources = [string_source] # Actually call copy instead of mocking it - # agent_copy = agent.copy() + agent_copy = agent.copy() + print("agent_copy", agent_copy) + assert agent_copy.role == agent.role + # if agent.knowledge_sources and agent_copy.knowledge_sources: # assert len(agent_copy.knowledge_sources) == len(agent.knowledge_sources) # assert (