true resume support #92

Open
opened 2026-08-23 18:25:22 +00:00 by theis · 0 comments
Owner

The backend would need to:

  1. Persist the prepared segment manifest, including indexes and character lengths.
  2. Keep successfully stored segments during retries.
  3. Determine the first missing segment.
  4. Send only missing segments to the TTS service.
  5. Include the original indexes in the request, for example:
    {
    "segments": [
    { "index": 3, "text": "..." },
    { "index": 4, "text": "..." }
    ]
    }
  6. Avoid resetting progress when retrying.
  7. Make the final completion check verify that every expected index exists.
The backend would need to: 1. Persist the prepared segment manifest, including indexes and character lengths. 2. Keep successfully stored segments during retries. 3. Determine the first missing segment. 4. Send only missing segments to the TTS service. 5. Include the original indexes in the request, for example: { "segments": [ { "index": 3, "text": "..." }, { "index": 4, "text": "..." } ] } 6. Avoid resetting progress when retrying. 7. Make the final completion check verify that every expected index exists.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
theis/webspeaker#92
No description provided.