Removed cruft
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user