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>
This commit is contained in:
18
lib/llm/provider.mjs
Normal file
18
lib/llm/provider.mjs
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user