Add Deepgram and OpenRouter voice processing
Some checks failed
Build and deploy Worker / build (push) Failing after 6m46s

This commit is contained in:
Ruslan Bakiev
2026-05-14 08:44:20 +07:00
parent f6caaac28f
commit 53a7cb7cc8
11 changed files with 663 additions and 171 deletions

View File

@@ -8,4 +8,11 @@ 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',
};