ui: update max turns defaults and timeout copy
Browse files
app.py
CHANGED
|
@@ -2377,7 +2377,8 @@ def build_research_agent(
|
|
| 2377 |
if final_answer is None:
|
| 2378 |
final_answer = (
|
| 2379 |
"I could not finish a complete research answer within the configured turns. "
|
| 2380 |
-
"
|
|
|
|
| 2381 |
)
|
| 2382 |
else:
|
| 2383 |
final_answer = ensure_markdown_table_blank_lines(final_answer)
|
|
@@ -2577,7 +2578,7 @@ with gr.Blocks(
|
|
| 2577 |
label="Max Turns",
|
| 2578 |
minimum=2,
|
| 2579 |
maximum=50,
|
| 2580 |
-
value=
|
| 2581 |
step=1,
|
| 2582 |
elem_id="quest-max-turns",
|
| 2583 |
)
|
|
|
|
| 2377 |
if final_answer is None:
|
| 2378 |
final_answer = (
|
| 2379 |
"I could not finish a complete research answer within the configured turns. "
|
| 2380 |
+
"To keep the hosted demo cost manageable, this Space limits max turns to 50. "
|
| 2381 |
+
"For longer runs, try QUEST offline with your own APIs and a higher turn limit."
|
| 2382 |
)
|
| 2383 |
else:
|
| 2384 |
final_answer = ensure_markdown_table_blank_lines(final_answer)
|
|
|
|
| 2578 |
label="Max Turns",
|
| 2579 |
minimum=2,
|
| 2580 |
maximum=50,
|
| 2581 |
+
value=25,
|
| 2582 |
step=1,
|
| 2583 |
elem_id="quest-max-turns",
|
| 2584 |
)
|