From 71d66aec4f9afada3d567809a2ad15d132af33fd Mon Sep 17 00:00:00 2001 From: bucolucas Date: Sat, 17 Aug 2024 22:15:25 -0500 Subject: [PATCH] Added PersonaTool class extending BaseTool --- tools/persona_tool.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/persona_tool.py b/tools/persona_tool.py index 9829553..b6b3cf4 100644 --- a/tools/persona_tool.py +++ b/tools/persona_tool.py @@ -1,10 +1,10 @@ -from base_tool import BaseTool +from tools.base_tool import BaseTool class PersonaTool(BaseTool): - def __init__(self, persona_name): - super().__init__() - self.persona_name = persona_name - - def perform_action(self): - # Implement the action specific to the persona + def get_functions(self): + # Define the functions for the persona tool + pass + + def execute(self, function_name, **kwargs): + # Implement the logic to execute the specified function pass