litellm/tests/e2e/llm_translation/realtime
devin-ai-integration[bot] bd70e6ddb6
fix(bedrock): forward each Nova Sonic assistant sentence once over the realtime API (#44987)
* test(bedrock): live e2e asserting nova sonic realtime delivers each assistant sentence once

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(bedrock): drop ticket reference from nova sonic e2e docstring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(bedrock): forward each Nova Sonic assistant sentence once over the realtime API

Nova 2 Sonic sends every assistant text block twice, a SPECULATIVE preview
next to the audio and a FINAL transcript once the audio turn has ended. The
realtime bridge forwarded both, so voice clients rendered each sentence twice
and the FINAL copies opened extra responses after response.done, the last of
which never closed. FINAL assistant text blocks are now dropped whole, so a
turn carries each sentence once inside the one response with its audio

* test(bedrock): tag the live Nova Sonic test and type its helpers

* test(bedrock): pin that the Nova Sonic barge-in marker is dropped with its FINAL block

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-10-06 22:02:31 -07:00
..
fixtures test: litellm fix failing tests (#32577) 2026-07-09 13:54:45 -07:00
conftest.py chore: consolidate CLAUDE.md into AGENTS.md 2026-09-19 02:30:35 +00:00
pipecat_service.py test: litellm fix failing tests (#32577) 2026-07-09 13:54:45 -07:00
realtime_client.py fix(bedrock): forward each Nova Sonic assistant sentence once over the realtime API (#44987) 2026-10-06 22:02:31 -07:00
REALTIME_COVERAGE_MATRIX.md chore: consolidate CLAUDE.md into AGENTS.md 2026-09-19 02:30:35 +00:00
test_realtime_bedrock_duplicate_text_e2e.py fix(bedrock): forward each Nova Sonic assistant sentence once over the realtime API (#44987) 2026-10-06 22:02:31 -07:00
test_realtime_bedrock_e2e.py test(e2e): cite the source and date for the pinned Nova Sonic model id 2026-09-19 17:20:00 -07:00
test_realtime_e2e.py fix(realtime): surface an upstream handshake refusal as an error event and policy close (#42388) 2026-09-22 11:31:15 -07:00
test_realtime_pipecat_audio_e2e.py [e2e] Pin the OpenAI websocket passthrough prefixes 2026-08-21 17:26:18 -07:00
test_realtime_pipecat_e2e.py [e2e] Pin the OpenAI websocket passthrough prefixes 2026-08-21 17:26:18 -07:00