Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -44,7 +44,7 @@ class AdvancedAgent:
|
|
44 |
try:
|
45 |
# Avoid rate limiting with a delay
|
46 |
time.sleep(1) # Adjust delay based on testing
|
47 |
-
|
48 |
# Perform web search
|
49 |
search_results = self.search_tool.run(question)
|
50 |
if not search_results:
|
|
|
44 |
try:
|
45 |
# Avoid rate limiting with a delay
|
46 |
time.sleep(1) # Adjust delay based on testing
|
47 |
+
|
48 |
# Perform web search
|
49 |
search_results = self.search_tool.run(question)
|
50 |
if not search_results:
|