Member Junction
    Preparing search index...
    • Writes the Live setup message for a connect config, the way @google/genai 2.8 writes it inside live.connect for the target's endpoint (see the module's table). The result is plain JSON that shares nothing with config.

      Parameters

      • target: GeminiLiveSetupTarget

        The endpoint, the model and, on Gemini Enterprise, the project and location.

      • config: LiveConnectConfig

        The connect config, as GeminiRealtime.BuildConnectConfig builds it.

      Returns LiveClientSetup

      The setup message's body.

      When the model id is empty or malformed, or a Gemini Enterprise target has no project or location.