litellm/tests/e2e/llm_translation
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
realtime feat(gemini): support Gemini Live Avatar on Vertex AI realtime (#53270) 2026-11-21 15:06:59 -08:00
conftest.py
conversational_matrix.py chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
LLM_TRANSLATION_COVERAGE_MATRIX.md
passthrough_client.py
responses_helpers.py fix(providers): route Azure Responses past dated api versions, count Grok reasoning tokens on azure_ai, refresh provider sets after register_model, fix gpt-6.1-sol Azure rows (#46377) 2026-10-16 15:23:46 -07:00
sdk_clients.py
structured_output.py
test_anthropic_completion_e2e.py
test_audio_speech_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_audio_transcriptions_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_bedrock_converse_redacted_thinking_e2e.py fix(bedrock)!: replay redacted_thinking on Converse and keep its data as Claude's own string (#46532) 2026-10-14 19:08:14 -07:00
test_bedrock_guardrail_config_e2e.py
test_bedrock_kimi_k3_messages_e2e.py fix(bedrock): apply the 16 maxTokens floor to Kimi K3 on Converse (#43875) 2026-10-20 13:01:45 +00:00
test_bedrock_mantle_output_limit_e2e.py
test_bedrock_native_e2e.py
test_bedrock_provider_matrix_e2e.py
test_bedrock_web_search_server_tool_e2e.py
test_cache_control.py test(e2e): move the Gemini Flash alias off the retired gemini-2.5-flash (#52823) 2026-11-19 20:47:54 -08:00
test_cache_control_injection_tool_calls_e2e.py
test_chat_completions_contract_e2e.py chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
test_chat_completions_regression_e2e.py test(e2e): move the Gemini Flash alias off the retired gemini-2.5-flash (#52823) 2026-11-19 20:47:54 -08:00
test_chat_mid_conversation_system_e2e.py
test_chat_stream_contract_e2e.py
test_chat_tool_round_trip_e2e.py
test_completions_endpoint_e2e.py
test_containers_e2e.py fix(proxy)!: preserve Responses SSE event framing (#47980) 2026-11-06 20:17:57 -08:00
test_conversational_matrix_e2e.py chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
test_count_tokens_source_e2e.py test(e2e): allow a 3-token floor and 10% on provider token counts (#53023) 2026-11-20 03:56:03 +00:00
test_credential_messages_e2e.py
test_custom_pricing_e2e.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_deepseek_reasoning_e2e.py
test_embedding_only_supported_endpoints_e2e.py feat(router): opt in to non-chat deployment filtering (#46257) 2026-10-29 08:33:36 -07:00
test_embeddings_endpoint_e2e.py
test_files_batches_contract_e2e.py
test_gemini_tool_call_id_length_e2e.py fix(gemini): add thought_signature_in_tool_call_id to keep tool call ids short for clients that cap them (#47692) 2026-10-31 03:20:42 -07:00
test_gemini_url_context_e2e.py
test_google_interactions_e2e.py
test_google_native_e2e.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_image_edits_e2e.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_image_generation_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_messages_azure_foundry_e2e.py
test_messages_bedrock_e2e.py
test_messages_beta_headers_e2e.py fix(anthropic)!: sync the beta header allowlist with what anthropic, vertex_ai, and azure_ai accept (#49409) 2026-11-02 05:57:51 -08:00
test_messages_count_tokens_bedrock_e2e.py
test_messages_e2e.py
test_messages_mid_conversation_system_e2e.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_messages_mid_conversation_system_native_providers_e2e.py
test_messages_prompt_caching_and_tool_search_e2e.py
test_moderations_e2e.py
test_ocr_rust_e2e.py
test_ollama_e2e.py
test_passthrough_e2e.py fix(e2e): restore main qualification across providers and UI (#49763) 2026-11-03 20:38:47 +00:00
test_passthrough_headers_e2e.py
test_provider_features_e2e.py fix(completion): send prompt_cache_retention to OpenAI instead of silently dropping it (#47480) 2026-10-20 09:41:22 -07:00
test_realtime_http_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_reasoning_effort_e2e.py
test_rerank_e2e.py
test_responses_bridge_streaming_e2e.py
test_responses_codex_tool_search_e2e.py feat(responses): support Codex client tool_search on Anthropic and other bridged providers (#48972) 2026-10-29 00:29:40 -07:00
test_responses_e2e.py test(e2e): move the Gemini Flash alias off the retired gemini-2.5-flash (#52823) 2026-11-19 20:47:54 -08:00
test_responses_retrieve_e2e.py chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
test_sagemaker_nova_e2e.py
test_together_ai_e2e.py test: update the spend tests that still expected the pre-ledger accounting queues (#50814) 2026-11-09 22:07:42 -08:00
test_token_counter_gemini_contents_e2e.py test(e2e): move the Gemini Flash alias off the retired gemini-2.5-flash (#52823) 2026-11-19 20:47:54 -08:00
test_vector_stores_e2e.py
test_vertex_capabilities_e2e.py
test_vertex_passthrough_e2e.py test(e2e): move the Gemini Flash alias off the retired gemini-2.5-flash (#52823) 2026-11-19 20:47:54 -08:00