Try to fix "supabase_url is required"
Browse files
agents.py
CHANGED
|
@@ -15,6 +15,8 @@ from langchain_core.tools import tool
|
|
| 15 |
from langchain.tools.retriever import create_retriever_tool
|
| 16 |
from supabase.client import Client, create_client
|
| 17 |
|
|
|
|
|
|
|
| 18 |
class BasicAgent:
|
| 19 |
def __init__(self):
|
| 20 |
print("BasicAgent initialized.")
|
|
|
|
| 15 |
from langchain.tools.retriever import create_retriever_tool
|
| 16 |
from supabase.client import Client, create_client
|
| 17 |
|
| 18 |
+
load_dotenv()
|
| 19 |
+
|
| 20 |
class BasicAgent:
|
| 21 |
def __init__(self):
|
| 22 |
print("BasicAgent initialized.")
|