Repository navigation
Add cascade STT/LLM/TTS user simulator - #214
Closed
tara-bogavelli wants to merge 2 commits into
Closed
tara-bogavelli wants to merge 2 commits into
tara-bogavelli wants to merge 2 commits into
Conversation
tara-bogavelli
marked this pull request as draft
August 21, 2026 00:03
tara-bogavelli
force-pushed
the
feat/cascade-user-simulator
branch
from
September 16, 2026 20:19
8467d0a to
1860af9
Compare
Collaborator
|
Closing in favor of #240 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a standalone cascade user simulator that combines streaming STT, a caller LLM, and Cartesia TTS. The caller uses the shared persona/goal prompts and end-call tool, waits for replies, and records transcripts, audio boundaries, clean caller audio, and per-tick diagnostics.
Includes both real-time streaming and tick-driven OpenAI Realtime adapters, pacing selection, background-noise/connection perturbations, transcript fallback, and the latest inactivity/provider-stall fixes. Also removes unused Backend/Role scaffolding and documents simulator setup.
This PR is the independently mergeable base of a two-PR stack. All listener decisions, interruptions, backchannels, speculative generation, localized phrase caching, and barge-in truncation are in dependent draft PR #228, which targets this branch. Those flags and execution paths are absent here.
Validation:
pytest tests -q: 2,192 passed, 52 skipped, 3 xfailed.pre-commit run --all-files: passed.Rebuilt on current main (
4cd0028b). The original branch tip is preserved locally asbackup/cascade-user-simulator-20260916(8467d0a4).