Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ class BasicAgent:
|
|
| 31 |
|
| 32 |
def __call__(self, question: str) -> str:
|
| 33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 34 |
-
response = self.agent.run(question)
|
| 35 |
return response
|
| 36 |
|
| 37 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
|
| 31 |
|
| 32 |
def __call__(self, question: str) -> str:
|
| 33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 34 |
+
response = self.agent.run(question, max_steps=4)
|
| 35 |
return response
|
| 36 |
|
| 37 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|