Files
intelligence-terminal/crucix.config.mjs

20 lines
573 B
JavaScript
Raw Normal View History

// Crucix Configuration — all settings with env var overrides
import './apis/utils/env.mjs'; // Load .env first
export default {
port: parseInt(process.env.PORT) || 3117,
refreshIntervalMinutes: parseInt(process.env.REFRESH_INTERVAL_MINUTES) || 15,
llm: {
provider: process.env.LLM_PROVIDER || null, // anthropic | openai | gemini | codex
apiKey: process.env.LLM_API_KEY || null,
model: process.env.LLM_MODEL || null,
},
telegram: {
botToken: process.env.TELEGRAM_BOT_TOKEN || null,
chatId: process.env.TELEGRAM_CHAT_ID || null,
},
};