feat(voice): implement local S2S retained history and provider selection
Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling. Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
This commit is contained in:
@@ -138,6 +138,9 @@ def test_transcript_ordering_repeated_words_delayed_completion_and_release(runne
|
||||
try:
|
||||
first=await input_turn(r,'u1',commit=False)
|
||||
await r.handle(user_asr('u1','نه ','delta-a',completed=False))
|
||||
# Unsent adjacent deltas may coalesce; observe the first delivery
|
||||
# before testing replay identity and a separate legitimate repetition.
|
||||
await until(lambda:sum(e.get('role')=='user' for e in out)==1)
|
||||
await r.handle(user_asr('u1','نه ','delta-a',completed=False)) # identity replay
|
||||
await r.handle(user_asr('u1','نه ','delta-b',completed=False)) # legitimate repetition
|
||||
await until(lambda:sum(e.get('role')=='user' for e in out)==2)
|
||||
|
||||
Reference in New Issue
Block a user