Skip to content

Interface: ModelGatewayClientOptions

Construction options for createModelGatewayClient.

readonly optional baseUrl?: string | URL

Gateway base URL. Defaults to the active browser origin.


readonly optional fetch?: (input, init?) => Promise<Response>

Injectable fetch implementation for tests or custom browser transports.

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>