UNPKG

@bobmatnyc/ai-code-review

Version:

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

38 lines (37 loc) 1.15 kB
/** * @fileoverview Gemini-specific prompt strategy. * * This module provides a prompt strategy optimized for Google's Gemini models. */ import { ReviewOptions } from '../../types/review'; import { PromptStrategy } from './PromptStrategy'; import { PromptManager } from '../PromptManager'; import { PromptCache } from '../cache/PromptCache'; /** * Prompt strategy for Gemini models */ export declare class GeminiPromptStrategy extends PromptStrategy { /** * Create a new Gemini prompt strategy * @param promptManager Prompt manager instance * @param promptCache Prompt cache instance */ constructor(promptManager: PromptManager, promptCache: PromptCache); /** * Format a prompt for Gemini models * @param prompt Raw prompt * @param options Review options * @returns Formatted prompt */ formatPrompt(prompt: string, _options: ReviewOptions): string; /** * Get the name of the strategy * @returns Strategy name */ getName(): string; /** * Get the description of the strategy * @returns Strategy description */ getDescription(): string; }