UNPKG

@bobmatnyc/ai-code-review

Version:

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

12 lines (11 loc) 774 B
/** * Mock client initializer to skip API calls during testing * * This module mocks the initialization of LLM clients to avoid actual API calls. */ import { ReviewResult, FileInfo, ReviewOptions } from '../types/review'; import { ProjectDocs } from '../utils/projectDocs'; export declare const mockInitializeOpenAI: () => Promise<boolean>; export declare const mockInitializeAnthropic: () => Promise<boolean>; export declare const mockOpenAIArchitecturalReview: (_files: FileInfo[], _project: string, _projectDocs?: ProjectDocs | null, _options?: ReviewOptions) => Promise<ReviewResult>; export declare const mockAnthropicArchitecturalReview: (_files: FileInfo[], _project: string, _projectDocs?: ProjectDocs | null, _options?: ReviewOptions) => Promise<ReviewResult>;