Skip to content

Commit

Permalink
Use id from agent class when printing thread
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Oct 19, 2024
1 parent 55a0527 commit fbf3cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agency_swarm/threads/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Thread:

@property
def thread_url(self):
return f'https://platform.openai.com/playground/assistants?assistant={self.recipient_agent.assistant.id}&mode=assistant&thread={self.id}'
return f'https://platform.openai.com/playground/assistants?assistant={self.recipient_agent.id}&mode=assistant&thread={self.id}'

def __init__(self, agent: Union[Agent, User], recipient_agent: Agent):
self.agent = agent
Expand Down

0 comments on commit fbf3cb6

Please sign in to comment.