ADK for TypeScript: API Reference
    Preparing search index...

    Function isGemini3xLive

    • Check if the model is a Gemini 3.x Live model.

      Matches the whole gemini-3.N-*live* family, not just the -flash-live spelling: ids such as gemini-3.8-live and gemini-3.5-transcribe-live are Live models too, and they need the same realtime handling. Non-live 3.x models such as gemini-3.0-flash are still excluded. Gemini 3.5 Live Translate ids are excluded as well, mirroring adk-python's _is_gemini_3_x_live, which handles them through a dedicated translate branch instead.

      Parameters

      • modelString: string | undefined

        Either a simple model name or path-based model name

      Returns boolean

      true if it's a Gemini 3.x Live model, false otherwise.