diff --git a/apps/backend/runners/github/services/issue_investigation_orchestrator.py b/apps/backend/runners/github/services/issue_investigation_orchestrator.py index 849b3b73..0e5a4b75 100644 --- a/apps/backend/runners/github/services/issue_investigation_orchestrator.py +++ b/apps/backend/runners/github/services/issue_investigation_orchestrator.py @@ -95,7 +95,6 @@ INVESTIGATION_SPECIALISTS: list[SpecialistConfig] = [ prompt_file="investigation_root_cause.md", tools=["Read", "Grep", "Glob", "Bash"], description="Trace the bug/issue to its source code paths and identify the root cause", - thinking_budget_multiplier=1.5, ), SpecialistConfig( name="impact", @@ -363,12 +362,6 @@ Use Read, Grep, and Glob tools to explore the codebase. _output_schema = ( _schema_class.model_json_schema() if _schema_class else None ) - # Apply per-specialist thinking multiplier - _effective_budget = ( - int(thinking_budget * cfg.thinking_budget_multiplier) - if thinking_budget - else None - ) # Look up resume session ID for this specialist _resume_id = ( resume_sessions.get(cfg.name) if resume_sessions else None @@ -404,7 +397,7 @@ Use Read, Grep, and Glob tools to explore the codebase. prompt=_prompt, project_root=project_root, model=model, - thinking_budget=_effective_budget, + thinking_budget=thinking_budget, output_schema=_output_schema, agent_type="investigation_specialist", context_name=f"Investigation:{cfg.name}", diff --git a/apps/backend/runners/github/services/parallel_agent_base.py b/apps/backend/runners/github/services/parallel_agent_base.py index 7484a58d..bec53fa9 100644 --- a/apps/backend/runners/github/services/parallel_agent_base.py +++ b/apps/backend/runners/github/services/parallel_agent_base.py @@ -82,7 +82,6 @@ class SpecialistConfig: tools: list[str] description: str max_turns: int = 30 - thinking_budget_multiplier: float = 1.0 class ParallelAgentOrchestrator: diff --git a/tests/test_github_investigation.py b/tests/test_github_investigation.py index 18427d32..f90252df 100644 --- a/tests/test_github_investigation.py +++ b/tests/test_github_investigation.py @@ -596,7 +596,6 @@ def _import_orchestrator(): tools: list description: str max_turns: int = 30 - thinking_budget_multiplier: float = 1.0 class ParallelAgentOrchestrator: def __init__(self, project_dir, github_dir, config, progress_callback=None):