Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -96,7 +96,7 @@ class GaiaAgent:
|
|
| 96 |
|
| 97 |
# Rate limiting configuration
|
| 98 |
self.last_call_time = 0
|
| 99 |
-
self.min_delay =
|
| 100 |
|
| 101 |
def __call__(self, task_id: str, question: str) -> str:
|
| 102 |
# Apply rate limiting
|
|
|
|
| 96 |
|
| 97 |
# Rate limiting configuration
|
| 98 |
self.last_call_time = 0
|
| 99 |
+
self.min_delay = 60 # 60 seconds between calls (10 per minute = 6s spacing)
|
| 100 |
|
| 101 |
def __call__(self, task_id: str, question: str) -> str:
|
| 102 |
# Apply rate limiting
|