From d223646984b463e89509815e63d737772909a3c8 Mon Sep 17 00:00:00 2001 From: RAJVARDHAN <95933896+vardhans07@users.noreply.github.com> Date: Sun, 20 Sep 2026 00:21:28 +0530 Subject: [PATCH] feat(cli): wire subagent_model into scan_config and run_strix_scan (#1339) - Add subagent_model to scan_config so it persists via report_state.save_run_data - Pass subagent_model parameter into run_strix_scan - Resolves #1339 --- strix/interface/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/strix/interface/cli.py b/strix/interface/cli.py index 684805d02..a9fe3facb 100644 --- a/strix/interface/cli.py +++ b/strix/interface/cli.py @@ -85,11 +85,12 @@ async def run_cli(args: Any) -> None: # noqa: PLR0915 scan_mode = getattr(args, "scan_mode", "deep") - scan_config: dict[str, Any] = { + scan_config: dict[str, Any] = { "scan_id": args.run_name, "targets": args.targets_info, - "user_instructions": args.instruction or "", + "user_instruction": args.instruction or "", "run_name": args.run_name, + "subagent_model": getattr(args, "subagent_model", None), "diff_scope": getattr(args, "diff_scope", {"active": False}), "scan_mode": scan_mode, "non_interactive": bool(getattr(args, "non_interactive", False)),