Spaces:
Running
Running
SearchGPT: Raise queuing and iterations.
Browse files- app.py +1 -1
- src/processor/tools/interaction.py +1 -1
app.py
CHANGED
|
@@ -29,7 +29,7 @@ with gr.Blocks(fill_height=True, fill_width=True) as app:
|
|
| 29 |
],
|
| 30 |
cache_examples=False,
|
| 31 |
show_api=False,
|
| 32 |
-
concurrency_limit=
|
| 33 |
)
|
| 34 |
|
| 35 |
app.launch(
|
|
|
|
| 29 |
],
|
| 30 |
cache_examples=False,
|
| 31 |
show_api=False,
|
| 32 |
+
concurrency_limit=5
|
| 33 |
)
|
| 34 |
|
| 35 |
app.launch(
|
src/processor/tools/interaction.py
CHANGED
|
@@ -13,7 +13,7 @@ from .executor import invoke_tool_function
|
|
| 13 |
from config import MAX_TOKENS, REASONING_DELAY
|
| 14 |
|
| 15 |
def process_tool_interactions(server, model_name, conversation_messages, tool_definitions, search_engine):
|
| 16 |
-
maximum_iterations =
|
| 17 |
logs_generator = ""
|
| 18 |
tool_results = []
|
| 19 |
|
|
|
|
| 13 |
from config import MAX_TOKENS, REASONING_DELAY
|
| 14 |
|
| 15 |
def process_tool_interactions(server, model_name, conversation_messages, tool_definitions, search_engine):
|
| 16 |
+
maximum_iterations = 2
|
| 17 |
logs_generator = ""
|
| 18 |
tool_results = []
|
| 19 |
|