Spaces:
Sleeping
Sleeping
foward message issue
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ class ReliableSearchTool(Tool):
|
|
| 33 |
self.max_retries = 2
|
| 34 |
self.timeout = 8
|
| 35 |
|
| 36 |
-
def
|
| 37 |
"""Search the web with retry logic and fallbacks."""
|
| 38 |
for attempt in range(self.max_retries):
|
| 39 |
try:
|
|
|
|
| 33 |
self.max_retries = 2
|
| 34 |
self.timeout = 8
|
| 35 |
|
| 36 |
+
def forward(self, query: str) -> str:
|
| 37 |
"""Search the web with retry logic and fallbacks."""
|
| 38 |
for attempt in range(self.max_retries):
|
| 39 |
try:
|