def call_summary(
code_path: str,
pdf_path: str,
quick: str,
secrets: str,
static: str,
criteria: str,
remediation_summary: str,
patched_code: str,
report_path: str,
port: int = 50055,
) -> str:
"""
Summary Agent 서버를 호출하여 마크다운 리포트를 생성하는 함수
Args:
code_path: 분석된 코드 파일 경로
pdf_path: 기준 문서 PDF 파일 경로
quick: Quick Agent 분석 결과
secrets: Secrets Agent 분석 결과
static: Static Agent 분석 결과
criteria: Criteria Agent 분석 결과
remediation_summary: LLM 종합 분석 요약
patched_code: 개선된 코드
report_path: 리포트 파일 저장 경로
port: Summary Agent 서버 포트 (기본값: 50055)
Returns:
str: 생성된 리포트 파일의 절대 경로
"""