Module live

Module live 

Source
Expand description

Live — Fluent builder for callback-driven Gemini Live sessions.

Wraps L1’s LiveSessionBuilder with ergonomic callback registration and integration with composition modules (M, T, P).

§Callback Modes

Control-lane callbacks support two execution modes via gemini_adk_rs::live::CallbackMode:

Use concurrent mode for fire-and-forget work (logging, analytics, webhook dispatch).

§Background Tool Execution

Mark tools for background execution to eliminate dead air in voice sessions:

Live::builder()
    .tools(dispatcher)
    .tool_background("search_kb")
    .connect_vertex(project, location, token)
    .await?;

Structs§

Live
Fluent builder for constructing and connecting Gemini Live sessions.