19 lines
726 B
TypeScript
19 lines
726 B
TypeScript
import 'dotenv/config';
|
|
|
|
import { loadVaultEnvironment } from './vault/env.js';
|
|
|
|
await loadVaultEnvironment();
|
|
|
|
export const config = {
|
|
databaseUrl: process.env.DATABASE_URL ?? '',
|
|
workerName: process.env.HATCHET_WORKER_NAME ?? 'mapflow-hatchet-worker',
|
|
workerSlots: Number.parseInt(process.env.HATCHET_WORKER_SLOTS ?? '4', 10),
|
|
publicApiUrl: process.env.PUBLIC_API_URL ?? 'https://api.map.craftee.vn',
|
|
deepgramApiKey: process.env.DEEPGRAM_API_KEY ?? '',
|
|
deepgramModel: process.env.DEEPGRAM_MODEL ?? 'nova-3',
|
|
deepgramLanguage: process.env.DEEPGRAM_LANGUAGE ?? 'ru',
|
|
openRouterApiKey: process.env.OPENROUTER_API_KEY ?? '',
|
|
openRouterModel:
|
|
process.env.OPENROUTER_MODEL ?? 'minimax/minimax-m2.5:free',
|
|
};
|