notes from ElevenLabs TTS experiment
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Inizia individuando il percorso di rendering di ElevenLabs TTS e il codice che gestisce l’header della risposta, quindi traccia come sono attualmente rappresentati il lavoro durevole e la pulizia. Il lavoro è completo quando la history-item-id viene conservata prima di restituire l’audio, viene ritentata l’eliminazione ritardata, vengono controllati entrambi gli endpoint della cronologia, viene segnalato un errore terminale e vengono utilizzati scope di lettura e scrittura separati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Alert text is user data. Design for minimizing what ElevenLabs ever holds; deletion is cleanup, not prevention.
enable_logging=false does not work. Measured: a ZRM request returned HTTP
200 and a history-item-id header — it wrote a history entry exactly like the
logging-on request, with no eligibility error. ZRM is gated to eligible
Enterprise accounts; on a normal key the parameter is accepted and silently does
not apply. Never treat a 200 as proof of non-retention.
Deleting the history item does work, but not immediately. Measured at +3 ms
after the audio response completed:
DELETE /v1/history/{id}→ 404history_item_not_foundGET /v1/history/{id}/audio→ 200, audio present
The audio is live and fetchable on their servers before the history record is
addressable for deletion. A 404 on DELETE means "not there yet", not "nothing
stored" — never infer deletion from it.
Therefore: a delayed delete queue, not an inline delete.
- Persist the
history-item-id(response header) durably at render time,
before returning audio to the user. It is the only handle; a crash between
render and delete orphans data nothing can later remove. - Delete after a delay, with backoff retries on the not-found case.
- Alert on terminal failures. A failed delete is silent and leaves live audio.
- The delay is unmeasured — a 0/250/750/2000/5000 ms ladder was written but never
confirmed against the live API. Measure it and set the first attempt past the
window; don't assume.
Verification must handle inconsistent error shapes. DELETE-missing is 404,
but GET /v1/history/{id} on a missing item is 400 with
detail.status: invalid_id (not 404). Check both the history item and its
/audio endpoint — in one run the audio outlived the record.
Keys need their own scopes for cleanup: speech_history_write to delete,
speech_history_read to verify. A TTS-only key gets 401 missing_permissions
and the cleanup silently no-ops. Provision this before launch.
Even a verified delete is weaker than ZRM. ElevenLabs states debugging and
moderation logs may retain related data, and backups may persist up to 30 days.
User-facing copy must say "deleted from history" — never "never stored."
- Lingua principale
- TypeScript
- Stelle
- 5
- Fork
- 1
- Merge medio
- 18h 26m
- PR unite (30g)
- 229
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di diffplug/dormouse
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di diffplug/dormouse
Issue simili
-
bot:ai-assisted component:compact-js status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
midnightntwrk/midnight-sdk#403 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
joinmarket-webui/jam#1496 · 1 commento ·
-
Tech
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opencrvs/opencrvs-core#13865 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
linagora/twake-calendar-frontend#1377 · 1 commento ·
-
Claiming namespace Londopy Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
EclipseFdn/open-vsx.org#13385 · 1 commento ·