Skip to content

Commit

Permalink
Change event handler to private
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Aug 15, 2024
1 parent 911279d commit fedb8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agency_swarm/agency/agency.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,8 +1075,8 @@ def run(self):
if not outer_self.async_mode == 'threading':
message = thread.get_completion(message=self.message,
message_files=self.message_files,
event_handler=self.event_handler,
yield_messages=not self.event_handler,
event_handler=self._event_handler,
yield_messages=not self._event_handler,
additional_instructions=self.additional_instructions,
)
else:
Expand Down

0 comments on commit fedb8d7

Please sign in to comment.