Crucix — agent with dashboard, delta engine, Telegram/Discord bots

This commit is contained in:
calesthio
2026-03-14 00:35:31 -07:00
parent ef2c6470fb
commit 3674fcb4f7
23 changed files with 2143 additions and 226 deletions

View File

@@ -7,7 +7,7 @@ export class AnthropicProvider extends LLMProvider {
super(config);
this.name = 'anthropic';
this.apiKey = config.apiKey;
this.model = config.model || 'claude-sonnet-4-20250514';
this.model = config.model || 'claude-sonnet-4-6';
}
get isConfigured() { return !!this.apiKey; }

View File

@@ -1,6 +1,6 @@
// OpenAI Codex Provider — uses ChatGPT subscription via chatgpt.com/backend-api/codex/responses
// Auth: reads ~/.codex/auth.json (created by `npx @openai/codex login`)
// SSE streaming, codex-specific models only (gpt-5.2-codex, gpt-5.3-codex)
// SSE streaming, codex-specific models only (gpt-5.3-codex, gpt-5.3-codex-spark)
import { readFileSync } from 'fs';
import { join } from 'path';
@@ -14,7 +14,7 @@ export class CodexProvider extends LLMProvider {
constructor(config) {
super(config);
this.name = 'codex';
this.model = config.model || 'gpt-5.2-codex';
this.model = config.model || 'gpt-5.3-codex';
this._creds = null;
}

View File

@@ -7,7 +7,7 @@ export class GeminiProvider extends LLMProvider {
super(config);
this.name = 'gemini';
this.apiKey = config.apiKey;
this.model = config.model || 'gemini-2.0-flash';
this.model = config.model || 'gemini-3.1-pro';
}
get isConfigured() { return !!this.apiKey; }

View File

@@ -7,7 +7,7 @@ export class OpenAIProvider extends LLMProvider {
super(config);
this.name = 'openai';
this.apiKey = config.apiKey;
this.model = config.model || 'gpt-4o';
this.model = config.model || 'gpt-5.4';
}
get isConfigured() { return !!this.apiKey; }
@@ -21,7 +21,7 @@ export class OpenAIProvider extends LLMProvider {
},
body: JSON.stringify({
model: this.model,
max_tokens: opts.maxTokens || 4096,
max_completion_tokens: opts.maxTokens || 4096,
messages: [
{ role: 'system', content: systemPrompt },
{ role: 'user', content: userMessage },