connectClient

fun connectClient(url: String, bearerTokenProvider: () -> Promise<String?>? = null): Promise<ClientJS>

Create a client connected to the model server.

Parameters

url

URL to the V2 endpoint of the model server. e.g., http://localhost:28102/v2