Update research_agent.py
Browse files- research_agent.py +1 -0
research_agent.py
CHANGED
|
@@ -262,6 +262,7 @@ class ResearchAgent(BaseAgent):
|
|
| 262 |
DUCKDUCKGO_ENABLED = os.getenv("DUCKDUCKGO_ENABLED")
|
| 263 |
|
| 264 |
try:
|
|
|
|
| 265 |
# Then use DuckDuckGo if enabled and we need more results
|
| 266 |
if DUCKDUCKGO_ENABLED and len(results) < max_results:
|
| 267 |
with DDGS() as ddgs:
|
|
|
|
| 262 |
DUCKDUCKGO_ENABLED = os.getenv("DUCKDUCKGO_ENABLED")
|
| 263 |
|
| 264 |
try:
|
| 265 |
+
print("Using DuckDuckGo to conduct a web search")
|
| 266 |
# Then use DuckDuckGo if enabled and we need more results
|
| 267 |
if DUCKDUCKGO_ENABLED and len(results) < max_results:
|
| 268 |
with DDGS() as ddgs:
|