mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-26 22:30:11 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| agent_engine | ||
| audio_transcription | ||
| batches | ||
| context_caching | ||
| count_tokens | ||
| files | ||
| fine_tuning | ||
| fixtures | ||
| gemini | ||
| gemini_embeddings | ||
| image_edit | ||
| image_generation | ||
| interactions | ||
| multimodal_embeddings | ||
| rag_engine | ||
| realtime | ||
| rerank | ||
| responses | ||
| text_to_speech | ||
| vertex_ai_partner_models | ||
| vertex_embeddings | ||
| vertex_gemma_models | ||
| videos | ||
| __init__.py | ||
| google_genai_proxy_test_config.yaml | ||
| test_bge_embedding.py | ||
| test_bge_response_transformation.py | ||
| test_common_utils.py | ||
| test_gemini_batch_embeddings.py | ||
| test_gemini_empty_properties.py | ||
| test_gemini_header_forwarding.py | ||
| test_http_status_201.py | ||
| test_request_labels.py | ||
| test_vertex.py | ||
| test_vertex_ai_batch_transformation.py | ||
| test_vertex_ai_common_utils.py | ||
| test_vertex_ai_non_gemini.py | ||
| test_vertex_ai_psc_endpoint_support.py | ||
| test_vertex_ai_search_vector_store_transformation.py | ||
| test_vertex_gemini_gcs_uri_mime.py | ||
| test_vertex_global_url_support.py | ||
| test_vertex_image_generation.py | ||
| test_vertex_llm_base.py | ||
| test_vertex_model_garden_openapi.py | ||
| test_vertex_passthrough_logging_handler.py | ||