UNPKG

local-agent

Version:

A CLI agentic system for orchestrating tools and memory with per-folder scoping

28 lines 890 B
/** * @fileoverview * Anthropic provider implementation for the AI Provider Factory. */ import { AIProvider } from './types'; /** * Anthropic provider implementation. */ export default class AnthropicProvider implements AIProvider { private apiKey; /** * Creates and returns an Anthropic model instance. * @param modelName The Anthropic model name (e.g., "claude-3-5-sonnet") * @returns An Anthropic model instance */ getModel(modelName: string): any; /** * Indicates if this provider requires an API key. * For Anthropic, an API key is required but can come from environment variables. */ requiresApiKey(): boolean; /** * Initializes the provider with an API key. * @param keys Object containing API keys */ initialize(keys: Record<string, string>): void; } //# sourceMappingURL=anthropic-provider.d.ts.map