Spaces:
Sleeping
Sleeping
fixed variable name
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ class BasicAgent:
|
|
| 43 |
)
|
| 44 |
print("BasicAgent initialized.")
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
-
|
| 47 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 48 |
answer = self.agent.run(question)
|
| 49 |
print(f"Agent returning answer: {answer}")
|
|
|
|
| 43 |
)
|
| 44 |
print("BasicAgent initialized.")
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
+
rate_limiter.sleep_if_needed()
|
| 47 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 48 |
answer = self.agent.run(question)
|
| 49 |
print(f"Agent returning answer: {answer}")
|