Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import os
|
|
|
|
| 2 |
from typing import List
|
| 3 |
from langchain_community.tools import DuckDuckGoSearchRun
|
| 4 |
from langchain_experimental.tools import PythonREPLTool
|
|
@@ -10,7 +11,7 @@ from langchain_core.messages import HumanMessage
|
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
# -----------------------------
|
| 16 |
# LLM
|
|
|
|
| 1 |
import os
|
| 2 |
+
from dotenv import load_dotenv
|
| 3 |
from typing import List
|
| 4 |
from langchain_community.tools import DuckDuckGoSearchRun
|
| 5 |
from langchain_experimental.tools import PythonREPLTool
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
+
load_dotenv()
|
| 15 |
|
| 16 |
# -----------------------------
|
| 17 |
# LLM
|