Spaces:
Running
Running
Commit
·
72b2667
1
Parent(s):
d55440b
fix(config): increase max iterations to 10
Browse filesAddressed P0-004 by increasing default max_iterations from 5 to 10 to allow deep search loops to complete successfully.
- src/app.py +1 -1
- src/utils/models.py +1 -1
src/app.py
CHANGED
|
@@ -40,7 +40,7 @@ def configure_orchestrator(
|
|
| 40 |
"""
|
| 41 |
# Create orchestrator config
|
| 42 |
config = OrchestratorConfig(
|
| 43 |
-
max_iterations=
|
| 44 |
max_results_per_tool=10,
|
| 45 |
)
|
| 46 |
|
|
|
|
| 40 |
"""
|
| 41 |
# Create orchestrator config
|
| 42 |
config = OrchestratorConfig(
|
| 43 |
+
max_iterations=10,
|
| 44 |
max_results_per_tool=10,
|
| 45 |
)
|
| 46 |
|
src/utils/models.py
CHANGED
|
@@ -300,6 +300,6 @@ class ResearchReport(BaseModel):
|
|
| 300 |
class OrchestratorConfig(BaseModel):
|
| 301 |
"""Configuration for the orchestrator."""
|
| 302 |
|
| 303 |
-
max_iterations: int = Field(default=
|
| 304 |
max_results_per_tool: int = Field(default=10, ge=1, le=50)
|
| 305 |
search_timeout: float = Field(default=30.0, ge=5.0, le=120.0)
|
|
|
|
| 300 |
class OrchestratorConfig(BaseModel):
|
| 301 |
"""Configuration for the orchestrator."""
|
| 302 |
|
| 303 |
+
max_iterations: int = Field(default=10, ge=1, le=20)
|
| 304 |
max_results_per_tool: int = Field(default=10, ge=1, le=50)
|
| 305 |
search_timeout: float = Field(default=30.0, ge=5.0, le=120.0)
|