HEL-903: preserve visual author voice status, call voice and recovery fixes
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -62,7 +62,7 @@ describe('her worker leaves while the room stays open (real adapter, SDK event n
|
||||
room.say({ v: 2, seq: 3, kind: 'assistant_interim', role: 'assistant', text: '在听呢。', speech_id: 'sp' });
|
||||
expect(r.view()).toMatchObject({ phase: 'thinking', her: { speech: 'sp', text: '在听呢。', state: 'open' } });
|
||||
room.leave(worker.identity); await flush();
|
||||
expect(r.view()).toEqual({ phase: 'off', heard: '', spoken: '', her: null, notice: WORDS.agentLeft, blocked: false });
|
||||
expect(r.view()).toEqual({ phase: 'off', heard: '', spoken: '', her: null, notice: WORDS.agentLeft, blocked: false, voice: null });
|
||||
expect(mics[0].stopped).toBeGreaterThan(0);
|
||||
expect(room.disconnects).toBe(1);
|
||||
expect(deletes(r.calls)).toEqual(['DELETE /api/voice/session/s1']);
|
||||
|
||||
Reference in New Issue
Block a user