UNPKG

@ooples/token-optimizer-mcp

Version:

Intelligent context window optimization for Claude Code - store content externally via caching and compression, freeing up your context window for what matters

24 lines 615 B
/** * Interface for foundation model providers (GPT-4, Claude, etc.) */ export interface GenerationOptions { maxTokens?: number; temperature?: number; topP?: number; stopSequences?: string[]; } export interface IFoundationModel { /** * Generate text completion using the foundation model */ generate(prompt: string, options?: GenerationOptions): Promise<string>; /** * Get the model identifier */ getModelName(): string; /** * Check if the model is available */ isAvailable(): Promise<boolean>; } //# sourceMappingURL=IFoundationModel.d.ts.map