capsule-ai-cli
Version:
The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing
19 lines • 805 B
TypeScript
import { BaseProvider } from './base.js';
import { Message, CompletionOptions, CompletionResponse, StreamChunk, Usage, Cost } from '../types/index.js';
export declare class AnthropicProvider extends BaseProvider {
name: string;
models: string[];
supportsStreaming: boolean;
supportsTools: boolean;
private pricing;
private apiVersion;
private baseEndpoint;
constructor(apiKey: string);
complete(messages: Message[], options?: CompletionOptions): Promise<CompletionResponse>;
stream(messages: Message[], options?: CompletionOptions): AsyncIterableIterator<StreamChunk>;
calculateCost(usage: Usage, model?: string): Cost;
private formatMessages;
private parseMessageResponse;
formatTools(tools: any[]): any[];
}
//# sourceMappingURL=anthropic.d.ts.map