UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

40 lines 1.3 kB
import { RecognizedIntent } from '../types/nl.js'; export interface LLMFallbackConfig { minPatternConfidence: number; maxProcessingTime: number; temperature: number; enableCaching: boolean; cacheTTL: number; maxRetries: number; } export declare class LLMFallbackSystem { private static instance; private config; private openRouterConfig; private cache; private promptService; private constructor(); static getInstance(config?: Partial<LLMFallbackConfig>): LLMFallbackSystem; private initializeConfig; recognizeIntent(text: string, patternConfidence?: number, context?: Record<string, unknown>): Promise<RecognizedIntent | null>; private buildUserPrompt; private callLLMWithRetry; private parseLLMResponse; private convertToRecognizedIntent; private convertParametersToEntities; private getConfidenceLevel; private isValidIntent; private getCachedResult; private cacheResult; private getCacheKey; private cleanupExpiredCache; updateConfig(config: Partial<LLMFallbackConfig>): void; getConfig(): LLMFallbackConfig; clearCache(): void; getCacheStats(): { size: number; hitRate: number; expiredEntries: number; }; } //# sourceMappingURL=llm-fallback.d.ts.map