Spaces:
Running
Running
Update agent_langchain.py
Browse files- agent_langchain.py +1 -1
agent_langchain.py
CHANGED
@@ -4,7 +4,7 @@ from datetime import date
|
|
4 |
from langchain.agents import AgentType, initialize_agent, load_tools, tool
|
5 |
from langchain.chat_models import ChatOpenAI
|
6 |
|
7 |
-
OPENWEATHERMAP_API_KEY = os.environ["OPENWEATHERMAP_API_KEY"]
|
8 |
|
9 |
@tool
|
10 |
def date_tool(text: str) -> str:
|
|
|
4 |
from langchain.agents import AgentType, initialize_agent, load_tools, tool
|
5 |
from langchain.chat_models import ChatOpenAI
|
6 |
|
7 |
+
#OPENWEATHERMAP_API_KEY = os.environ["OPENWEATHERMAP_API_KEY"]
|
8 |
|
9 |
@tool
|
10 |
def date_tool(text: str) -> str:
|