Skip to Content

createGatewayProviderClient()

function createGatewayProviderClient(config): OpenAI;

Create an OpenAI-compatible client for one customer gateway scope.

Deliberately separate from CustomerClient: a caller that already holds a customer access token needs neither a refresh token nor the app API to send a completion.

Parameters

config

CreateGatewayProviderClientConfig

Last updated on