Removed cruft

This commit is contained in:
2024-08-18 07:39:19 -05:00
parent 3aeb203944
commit aad82cbe98
2 changed files with 4 additions and 45 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
import os
import openai
import json
from tools.base_tool import BaseTool
class PersonaTool(BaseTool):
def __init__(self, api_key: str):
def __init__(self):
super().__init__()
openai.api_key = api_key
self.api_key = os.environ.get("OPENAI_API_KEY")
def generate_response(self, persona_description: str, query: str) -> str:
"""