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 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 },