더북(TheBook)
# ============================================================
#                  Remediation gRPC Service
# ============================================================

class RemediationServiceServicer(agents_pb2_grpc.RemediationServiceServicer):
    """
    Remediation Service의 gRPC 서비스를 구현하는 클래스
    여러 에이전트를 조율하여 종합적인 취약점 분석 및 개선 코드를 생성합니다.
    """
    
    def Remediate(self, request, context):
        """
        취약점 분석 및 개선 코드 생성을 수행하는 메서드
        
        Args:
            request: RemediationRequest 객체 (code_path, pdf_path, report_path 포함)
            context: gRPC 컨텍스트
            
        Returns:
            RemediationResponse: 분석 요약, 개선된 코드, 리포트 경로가 포함된 응답
        """