litellm/tests/e2e/llm_translation/realtime
kenneth-berri 94d5296b9b
feat(gemini): support Gemini Live Avatar on Vertex AI realtime (#53270)
* feat(gemini): live avatar support for gemini-3.8-live (avatar config, video deltas, video tokens)

Gemini 3.8 Live can render a lip-synced avatar: the setup takes avatarConfig
and responseModalities ["VIDEO"], and the model streams fragmented MP4 (H.264
+ AAC) blobs as video/mp4 inlineData parts, continuously and outside any turn.

- session.update `avatar` -> setup.avatarConfig.avatarName and
  `avatar_video_bitrate_bps` -> avatarConfig.videoBitrateBps (the default
  stream is about 8 Mbit/s); output_modalities ["video"] already maps to VIDEO
- video/* inlineData parts become response.output_video.delta events instead of
  being appended to the audio delta; a video-only model turn is a side channel
  that opens no response, the spoken turn is opened by its output transcript
  and closed by generationComplete like any audio item
- video output tokens survive into response.done usage
  (output_token_details.video_tokens)

Refs #43166

* docs(realtime): note live avatar coverage in the realtime e2e matrix

* feat(gemini): serve Live Avatar only on Vertex and wait for its setup before sending content

Co-authored-by: Tech Carrement <tech@carrement.ai>

* fix(realtime): keep held avatar content in order and bill video output tokens

* test(realtime): annotate the avatar tests

* refactor(realtime): take the held content in one typed step

---------

Co-authored-by: Tech Carrement <tech@carrement.ai>
2026-11-21 15:06:59 -08: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 test(e2e): move audio, realtime, and Langfuse tests off model ids with shutdown dates (#51816) 2026-11-14 09:51:53 -05:00
REALTIME_COVERAGE_MATRIX.md feat(gemini): support Gemini Live Avatar on Vertex AI realtime (#53270) 2026-11-21 15:06:59 -08: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): tag llm_translation tests with Subject metadata and record harness steps (#44950) 2026-10-07 10:30:37 -07:00
test_realtime_e2e.py test(e2e): move audio, realtime, and Langfuse tests off model ids with shutdown dates (#51816) 2026-11-14 09:51:53 -05:00
test_realtime_pipecat_audio_e2e.py test(e2e): move audio, realtime, and Langfuse tests off model ids with shutdown dates (#51816) 2026-11-14 09:51:53 -05:00
test_realtime_pipecat_e2e.py fix(bedrock): forward Nova Sonic realtime tool calls with their arguments (#46214) 2026-10-16 01:10:53 +00:00