Skip to content

Commit

Permalink
Made execute tool method public
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Jan 25, 2024
1 parent b48c052 commit 72c3c68
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 @@ -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)

Expand Down

0 comments on commit 72c3c68

Please sign in to comment.