removed the voice agent

This commit is contained in:
2026-08-29 14:01:56 +05:30
parent bef978da6f
commit 8ae5e7ebb9
27 changed files with 7 additions and 2645 deletions
+1 -17
View File
@@ -28,12 +28,6 @@ services:
- NODE_ENV=production
- PORT=4000
# English-only keeps one TTS voice resident (~200 MB). Tamil is built and
# tested — VOICE_LANGUAGES=en,ta plus a multilingual STT_MODEL enables it,
# at roughly 200 MB more.
- VOICE_LANGUAGES=en
- STT_MODEL=onnx-community/whisper-tiny.en
# Reuse the CRM's Redis by service name on the shared network.
# Keys are namespaced with REDIS_PREFIX, so the two never collide.
- REDIS_ENABLED=true
@@ -56,22 +50,13 @@ services:
volumes:
# Generated xlsx/pdf/pptx survive rebuilds; swept on a TTL by the app.
- artifacts:/app/storage/artifacts
# Speech models are fetched from HuggingFace on first use (~200 MB).
# Without this they re-download on every restart and the first voice turn
# after a deploy stalls for a minute.
- speech_cache:/app/.transformers-cache
# A 2 vCPU / 3.7 GB host already runs the CRM, chat-service, Redis and
# Milvus. Capping this container keeps a runaway turn from starving them.
#
# 1 GB, not 768 MB: the speech models are resident once voice is used —
# measured 729 MB (Whisper tiny.en 415 MB + MMS-TTS English 203 MB + VAD
# 28 MB + the agent itself). 768 MB left no headroom, and an OOM kill takes
# text chat down with voice. Text-only sessions stay near 80 MB.
deploy:
resources:
limits:
memory: 1024M
memory: 768M
logging:
driver: json-file
@@ -90,4 +75,3 @@ networks:
volumes:
artifacts:
speech_cache: