Skip to content

Commit

Permalink
Adjusted load agent from id test
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Jan 13, 2024
1 parent 542a8c7 commit 71e4de8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_agency.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 71e4de8

Please sign in to comment.