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
This commit is contained in:
RAJVARDHAN 2026-09-20 00:21:28 +05:30 • committed by GitHub
parent e804cc7606
commit d223646984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)),