UNPKG

@bobmatnyc/ai-code-review

Version:

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

30 lines (29 loc) 1.25 kB
/** * @fileoverview Strategy for improved quick fixes review using LangChain. * * This module implements the strategy for quick fixes review with LangChain * integration for enhanced prompt management and structured output. */ import { ConsolidatedReviewStrategy } from './ConsolidatedReviewStrategy'; import { FileInfo, ReviewOptions, ReviewResult } from '../types/review'; import { ProjectDocs } from '../utils/projectDocs'; import { ApiClientConfig } from '../core/ApiClientSelector'; /** * Strategy for improved quick fixes review using LangChain */ export declare class ImprovedQuickFixesReviewStrategy extends ConsolidatedReviewStrategy { /** * Create a new improved quick fixes review strategy */ constructor(); /** * Execute the improved quick fixes review strategy * @param files Files to review * @param projectName Project name * @param projectDocs Project documentation * @param options Review options * @param apiClientConfig API client configuration * @returns Promise resolving to review result */ execute(files: FileInfo[], projectName: string, projectDocs: ProjectDocs | null, options: ReviewOptions, apiClientConfig: ApiClientConfig): Promise<ReviewResult>; }