UNPKG

@bobmatnyc/ai-code-review

Version:

A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter

16 lines (15 loc) 764 B
/** * @fileoverview Utility for consolidating multi-pass reviews into a single coherent review. * * This module provides a dedicated function to consolidate multiple review passes * into a single, comprehensive review by sending the review content to the same AI model * that was used for the original review, ensuring consistency in analysis and tone. */ import { ReviewResult } from '../../types/review'; /** * Consolidates a multi-pass review into a single coherent review using the * configured client and model from environment/arguments * @param review The multi-pass review content to consolidate * @returns Promise resolving to the consolidated review content */ export declare function consolidateReview(review: ReviewResult): Promise<string>;