Interface: OllamaHeaders
@providerprotocol/ai / ollama / OllamaHeaders
Interface: OllamaHeaders
Section titled “Interface: OllamaHeaders”Defined in: src/providers/ollama/types.ts:447
Ollama-specific HTTP headers for API requests.
Supports arbitrary headers for proxy authentication.
Example
Section titled “Example”const headers: OllamaHeaders = { 'CF-Access-Client-Id': 'client-id.access', 'CF-Access-Client-Secret': 'secret-token',};Indexable
Section titled “Indexable”[key: string]: string | undefined
Properties
Section titled “Properties”CF-Access-Client-Id?
Section titled “CF-Access-Client-Id?”
optionalCF-Access-Client-Id:string
Defined in: src/providers/ollama/types.ts:449
Cloudflare Access client ID for protected tunnels.
CF-Access-Client-Secret?
Section titled “CF-Access-Client-Secret?”
optionalCF-Access-Client-Secret:string
Defined in: src/providers/ollama/types.ts:451
Cloudflare Access client secret for protected tunnels.