diff --git a/agency_swarm/threads/thread.py b/agency_swarm/threads/thread.py index d421a538..090ba417 100644 --- a/agency_swarm/threads/thread.py +++ b/agency_swarm/threads/thread.py @@ -107,7 +107,7 @@ def get_completion(self, message: str, message_files=None, yield_messages=True): return message - def _execute_tool(self, tool_call): + def execute_tool(self, tool_call): funcs = self.recipient_agent.functions func = next((func for func in funcs if func.__name__ == tool_call.function.name), None)