Interface: ProxyProviderOptions
@providerprotocol/ai / proxy / ProxyProviderOptions
Interface: ProxyProviderOptions
Section titled “Interface: ProxyProviderOptions”Defined in: src/providers/proxy/types.ts:46
Configuration options for creating a proxy provider.
Properties
Section titled “Properties”endpoint
Section titled “endpoint”endpoint:
string
Defined in: src/providers/proxy/types.ts:48
The endpoint URL to proxy requests to
fetch?
Section titled “fetch?”
optionalfetch: typeoffetch
Defined in: src/providers/proxy/types.ts:54
Custom fetch implementation
headers?
Section titled “headers?”
optionalheaders:Record<string,string>
Defined in: src/providers/proxy/types.ts:51
Default headers to include in all requests
timeout?
Section titled “timeout?”
optionaltimeout:number
Defined in: src/providers/proxy/types.ts:57
Request timeout in milliseconds (default: 120000)