UNPKG

@bobmatnyc/ai-code-review

Version:

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

19 lines (18 loc) 899 B
/** * @fileoverview Client for interacting with the Anthropic API. * * This module provides a client for interacting with Anthropic's Claude models. * It re-exports functionality from specialized modules to maintain a clean API * while adhering to the Single Responsibility Principle. * * Key features: * - Support for various Claude models (Claude 3 Opus, Sonnet, Haiku) * - Streaming and non-streaming responses * - Robust error handling and rate limit management * - Cost estimation for API usage * - Support for different review types * - Tool calling capabilities for enhanced reviews */ export { isAnthropicModel, initializeAnthropicClient } from './utils/anthropicModelHelpers'; export { generateAnthropicReview, generateAnthropicConsolidatedReview } from './utils/anthropicReviewGenerators'; export { generateArchitecturalAnthropicReview } from './utils/anthropicToolCalling';