@vfarcic/dot-ai
Version:
AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance
43 lines • 1.32 kB
TypeScript
/**
* No-Op AI Provider
*
* Placeholder provider used when no AI API keys are configured.
* Allows the MCP server to start successfully even without AI capabilities,
* enabling tools that don't require AI (e.g., prompts, project-setup) to function.
*/
import { AIProvider, AIResponse, AgenticResult, ToolLoopConfig } from '../ai-provider.interface';
export declare class NoOpAIProvider implements AIProvider {
private static readonly ERROR_MESSAGE;
/**
* Creates a NoOp provider that doesn't require API keys
*/
constructor();
/**
* Always returns false since no actual AI provider is configured
*/
isInitialized(): boolean;
/**
* Returns a placeholder model name
*/
getDefaultModel(): string;
/**
* Returns the provider type
*/
getProviderType(): string;
/**
* Returns the model name
*/
getModelName(): string;
/**
* Throws error explaining AI is not available
*/
sendMessage(_message: string, _operation?: string, _evaluationContext?: {
user_intent?: string;
interaction_id?: string;
}): Promise<AIResponse>;
/**
* Throws error explaining AI is not available
*/
toolLoop(_config: ToolLoopConfig): Promise<AgenticResult>;
}
//# sourceMappingURL=noop-provider.d.ts.map