Spaces:
Build error
Build error
Update agent/planning_agent.py
Browse files- agent/planning_agent.py +1 -1
agent/planning_agent.py
CHANGED
|
@@ -5,12 +5,12 @@ from langchain.tools import Tool
|
|
| 5 |
from langchain.memory import ConversationBufferMemory, SimpleMemory
|
| 6 |
from langchain_community.callbacks import ClearMLCallbackHandler
|
| 7 |
from langchain_core.callbacks import StdOutCallbackHandler
|
|
|
|
| 8 |
import agent.router_agent as router_agent
|
| 9 |
import agent.product_review_agent as product_review_agent
|
| 10 |
import agent.generic_agent as generic_agent
|
| 11 |
import agent.composer_agent as composer_agent
|
| 12 |
import logging
|
| 13 |
-
import serpapi
|
| 14 |
|
| 15 |
# Set httpx (HTTP request) logging to WARNING or ERROR level
|
| 16 |
# This will hide the HTTP request logs while keeping agent thoughts visible
|
|
|
|
| 5 |
from langchain.memory import ConversationBufferMemory, SimpleMemory
|
| 6 |
from langchain_community.callbacks import ClearMLCallbackHandler
|
| 7 |
from langchain_core.callbacks import StdOutCallbackHandler
|
| 8 |
+
from langchain_community.utilities import SerpAPIWrapper
|
| 9 |
import agent.router_agent as router_agent
|
| 10 |
import agent.product_review_agent as product_review_agent
|
| 11 |
import agent.generic_agent as generic_agent
|
| 12 |
import agent.composer_agent as composer_agent
|
| 13 |
import logging
|
|
|
|
| 14 |
|
| 15 |
# Set httpx (HTTP request) logging to WARNING or ERROR level
|
| 16 |
# This will hide the HTTP request logs while keeping agent thoughts visible
|