client

fun client(client: OkHttpClient): OpenAI.Builder

Sets the OkHttpClient used to make requests. Modify this if you want to change the timeout, add interceptors, add a proxy, etc.

Parameters

client

The client to use for requests