mirror of
https://github.com/usestrix/strix.git
synced 2026-10-22 05:23:43 +00:00
fix(core): update fallback report path to utilize run_dir
This commit is contained in:
parent
933981e2b0
commit
1a614e39a9
1 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ import json
|
|||
import logging
|
||||
import uuid
|
||||
from collections.abc import Callable
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from agents import RunConfig
|
||||
|
|
@ -300,7 +299,7 @@ async def run_strix_scan(
|
|||
scan_id,
|
||||
)
|
||||
# Automatically save the data into a fallback markdown report using Path
|
||||
reports_dir = Path("reports")
|
||||
reports_dir = run_dir / "reports"
|
||||
reports_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
report_file = reports_dir / f"report_{scan_id}_fallback.md"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue