diff --git a/tests/test_agency.py b/tests/test_agency.py index 06c4ef2d..1776cad7 100644 --- a/tests/test_agency.py +++ b/tests/test_agency.py @@ -99,8 +99,7 @@ def test_2_load_agent(self): def test_3_load_agent_id(self): """it should load existing assistant from id""" from test_agents import TestAgent1 - agent3 = Agent(id=self.__class__.agent1.id, instructions=self.__class__.agent1.instructions) - agent3.add_shared_instructions(self.__class__.agency.shared_instructions) + agent3 = Agent(id=self.__class__.agent1.id) agent3.tools = self.__class__.agent1.tools agent3 = agent3.init_oai()