Date : Samedi 9 novembre 2026 â 20:35 AST (UTC-4)
SystĂšme : Remoat Telegram Bot (PID 4868)
Durée analyse : 8 minutes
Statut : â ïž STT PRIMAIRE HORS SERVICE â FALLBACKS ACTIFS
Bot Remoat : â
Actif (PID 4868, uptime 39 min)
TTS (SynthĂšse vocale) : â
Opérationnel (Edge TTS)
STT (Reconnaissance vocale) : â ïž Service primaire Ă©puisĂ©, fallbacks actifs
ProblÚme critique : Quota ElevenLabs Scribe épuisé (4/30000 crédits)
Solution active : Cascade automatique vers Google Cloud STT
Moteur actif : Edge TTS (via Python CLI edge-tts)
Version : 7.3.1+
Méthode : CLI Python rany2/edge-tts
Cascade TTS :
1. ElevenLabs API (si clé présente ET voiceTtsProvider === 'elevenlabs')
2. Edge TTS â Actif actuellement (fallback par dĂ©faut)
ClĂ© ElevenLabs : â
Présente (sk_33f2e8...)
Provider configuré : Edge TTS (config par défaut)
[19:55:18] [VoiceSynthesis] Using Edge TTS (via Python edge-tts CLI).
[19:55:29] [Bot] Converting response to OGG/Opus for native voice note...
[19:55:32] [Bot] Native voice note sent successfully.
RĂ©sultat : â SynthĂšse rĂ©ussie, message vocal envoyĂ©
Module npm : msedge-tts présent mais non utilisé
Raison : Microsoft a bloqué clients non officiels (17/12/2025)
Solution : CLI Python officiel edge-tts 7.3.1+
Nettoyage texte : 17 étapes de preprocessing
- Suppression markdown, HTML, emojis
- Normalisation ponctuation
- Optimisation pour fluidité vocale
Statut : Fallbacks actifs, service dégradé mais fonctionnel
Service : ElevenLabs Scribe API
Quota : 30000 crédits/mois
Utilisé : 29996 crédits
Restant : 4 crĂ©dits â ïž
DerniĂšres erreurs :
[19:52:28] [ERROR] ElevenLabs transcription failed (status 401):
{"detail": {
"type": "invalid_request",
"code": "quota_exceeded",
"message": "This request exceeds your quota of 30000. You have 4
credits remaining, while 78 credits are required for this request.",
"status": "quota_exceeded"
}}
[19:55:38] [ERROR] ElevenLabs transcription failed (status 401):
{"detail": {
"message": "This request exceeds your quota of 30000. You have 4
credits remaining, while 78 credits are required for this request."
}}
Circuit-breaker : 3 minutes de cooldown aprÚs échec
Ătat : ElevenLabs en pause, cascade vers fallbacks
Mode par défaut : Cascade automatique avec circuit-breaker
ElevenLabs Scribe API (primaire)
- Statut : â QUOTA ĂPUISĂ
- Cooldown : 3 minutes aprÚs échec
- DerniĂšre tentative : 19:55:38
- Prochaine réactivation : Renouvellement mensuel quota
Google Cloud Speech-to-Text (fallback 1)
- Statut : â ïž TIMEOUT/PLANTAGE SUSPECTĂ
- DerniĂšre tentative : 19:55:38
- Pas de résultat enregistré
- Bot redémarré 18s aprÚs (19:56:21)
- Script : C:\ASSISTANT_IA\tools\google_stt_transcribe.py
Deepgram Nova-3 (fallback 2)
- Statut : â
Disponible
- Testé : 08/08/2026
- Performance : ~3s par transcription
- Non utilisĂ© rĂ©cemment (cascade s'arrĂȘte avant)
Whisper Local (faster_whisper) (fallback final)
- Statut : â
Disponible
- Script : C:\ASSISTANT_IA\tools\faster_whisper_transcribe.py
- Performance : ~12s par transcription
- Filet de sécurité ultime
Timestamp : 19:54:54 - 19:54:55
Audio : 34834 bytes (.oga)
RĂ©sultat : â
Transcription réussie via ElevenLabs
[19:54:54] Downloaded voice message (34834 bytes)
[19:54:54] Transcribing via ElevenLabs Scribe API...
[19:54:55] ElevenLabs Scribe transcribed: "Bonjour, est-ce que
tu peux me dire qui est-ce que tu es ? Puis qu'est-ce que tu peux
faire pour moi..."
Analyse : Message court (< 4s) passé avant épuisement quota
Timestamp : 19:55:36 - 19:55:38
Audio : 617548 bytes (.oga), 116 secondes
RĂ©sultat : â ElevenLabs quota dĂ©passĂ© â Google STT timeout
[19:55:36] Downloaded voice message (617548 bytes, 116s)
[19:55:36] Transcribing via ElevenLabs Scribe API...
[19:55:38] [ERROR] ElevenLabs quota_exceeded (4 crédits, 78 requis)
[19:55:38] [WARN] ElevenLabs en pause 3 min
[19:55:38] Transcribing via Google Cloud Speech-to-Text...
[pas de suite dans logs]
[19:56:21] Bot redémarré (18s aprÚs appel Google STT)
Analyse : Google STT a probablement planté ou timeout sur audio long
| Service | Clé | Statut |
|---|---|---|
| ElevenLabs | sk_33f2e8... |
â PrĂ©sente |
| Google Cloud | Compte service | â ConfigurĂ© |
| Deepgram | (optionnel) | â Non vĂ©rifiĂ© |
Remoat .env : C:\ASSISTANT_IA\Remoat\.env
Scripts Python :
- Google STT : C:\ASSISTANT_IA\tools\google_stt_transcribe.py
- Whisper : C:\ASSISTANT_IA\tools\faster_whisper_transcribe.py
Cooldown : 3 minutes (réduit de 24h le 05/11/2026)
Providers suivis : ElevenLabs, Google, Deepgram
Mécanisme : Skip automatique si échec < 3 min
Code :
const STT_COOLDOWN_MS = 3 * 60 * 1000; // 3 minutes
Quota mensuel : 30000 crédits
Consommé : 29996 crédits (99.99%)
Restant : 4 crédits (0.01%)
Coût moyen : ~78 crédits pour 116 secondes audio
Calcul :
- 116 secondes = 78 crédits requis
- ~0.67 crédits/seconde
- Quota restant = ~6 secondes audio
Appels récents : 2 (19:52:28, 19:55:38)
Résultats : 0 succÚs enregistrés
ProblÚme : Timeout/plantage suspecté
Latence : > 18 secondes (anormal)
#1 : Quota ElevenLabs Scribe épuisé
- GravitĂ© : đŽ Critique
- Impact : Service STT primaire indisponible
- Restant : 4 crédits (~6 secondes audio)
- Solution : Renouvellement quota mensuel OU switch fallback
#2 : Google Cloud STT instable
- GravitĂ© : đ Haute
- Impact : Fallback #1 ne fonctionne pas
- SymptĂŽme : Timeout > 18s, plantage bot
- Solution : Investigation script Python + timeout adapté
#3 : Pas de fallback automatique vers Deepgram
- GravitĂ© : đĄ Moyenne
- Impact : Cascade s'arrĂȘte Ă Google STT
- Observation : Deepgram jamais atteint récemment
- Solution : Vérifier cascade complÚte fonctionne
#1 : Investiguer Google Cloud STT
python C:\ASSISTANT_IA\tools\google_stt_transcribe.py <test_audio.oga>
#2 : Tester fallback Deepgram
# Forcer Deepgram dans config
voiceSttProvider: 'deepgram'
#3 : Activer Whisper local en urgence
# Si Google/Deepgram instables
# Whisper = fallback fiable mais lent (~12s)
#4 : Surveiller renouvellement quota ElevenLabs
- Date probable : Début de mois prochain
- Alerter si < 1000 crédits restants
- Prévoir budget augmentation quota
#5 : Optimiser cascade STT
- Ajouter timeout explicites (30s max)
- Logging détaillé chaque étape
- Métriques performance par provider
#6 : Documenter coûts STT
- ElevenLabs : 0.67 crédits/seconde
- Google Cloud : Tarif à vérifier
- Deepgram : Tarif à vérifier
#7 : Stratégie multi-provider
- Ăquilibrage de charge ElevenLabs/Google
- Quota partagé intelligent
- Fallback préventif avant épuisement
#8 : Cache transcriptions
- MĂȘme audio = mĂȘme transcription
- Hash fichier audio
- Ăconomie quota significative
| Métrique | Valeur | Statut |
|---|---|---|
| Bot Remoat | Actif (PID 4868) | â |
| TTS Edge | OpĂ©rationnel | â |
| STT ElevenLabs | 4/30000 crĂ©dits | â |
| STT Google | Timeout suspect | â ïž |
| STT Deepgram | Non testĂ© rĂ©cent | â |
| STT Whisper local | Disponible | â |
| Cascade fallback | Partielle | â ïž |
| Circuit-breaker | Actif 3 min | â |
â ïž SERVICE DĂGRADĂ MAIS FONCTIONNEL
TTS : â
Excellent (Edge TTS fiable, latence 11s)
STT : â ïž Service primaire Ă©puisĂ©, fallback #1 instable
Actions urgentes :
1. Investiguer timeout Google Cloud STT
2. Tester fallback Deepgram
3. Surveiller renouvellement quota ElevenLabs
Impact utilisateur :
- Messages courts (< 6s) : â BloquĂ©s (quota Ă©puisĂ©)
- Messages longs : â ïž Instables (Google STT timeout)
- SynthĂšse vocale : â
Aucun impact
SystÚme reste utilisable mais nécessite intervention pour STT.
Rapport gĂ©nĂ©rĂ© le 9 novembre 2026 â 20:35 AST (UTC-4)
Vérification TTS/STT complétée
Service dégradé, actions recommandées