Files
intelligence-terminal/lib/llm/provider.mjs
calesthio ef2c6470fb Initial release — Crucix Intelligence Engine v2.0.0
26-source OSINT intelligence engine with live Jarvis dashboard,
auto-refresh via SSE, optional LLM layer (4 providers), delta/memory
system, and Telegram breaking news alerts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:45:46 -07:00

19 lines
504 B
JavaScript

// Base LLM Provider — all providers implement this interface
export class LLMProvider {
constructor(config) {
this.config = config;
this.name = 'base';
}
/**
* Complete a prompt with system + user messages
* @returns {{ text: string, usage: { inputTokens: number, outputTokens: number }, model: string }}
*/
async complete(systemPrompt, userMessage, opts = {}) {
throw new Error(`${this.name}: complete() not implemented`);
}
get isConfigured() { return false; }
}