mirror of
https://github.com/usestrix/strix.git
synced 2026-11-18 09:42:48 +00:00
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:
parent
e804cc7606
commit
d223646984
1 changed files with 3 additions and 2 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue