connect
Connects to the Live API and establishes a WebSocket session.
Return
A LiveSession representing the active connection.
Parameters
model
The model to connect to (e.g. "gemini-3.1-flash-live-preview").
config
Optional LiveConnectConfig for connection configuration.