ProviderConfig
Defined in: eval/src/http-provider.ts:15
Settings of one HTTP provider.
Properties
allowedHosts?
optionalallowedHosts?: readonlystring[]
Defined in: eval/src/http-provider.ts:25
Hosts allowed besides the built-in defaults, from --allow-host
allowLocal?
optionalallowLocal?:boolean
Defined in: eval/src/http-provider.ts:27
Allow loopback hosts, and plain http for them, from --allow-local
apiKey
apiKey: () =>
string
Defined in: eval/src/http-provider.ts:21
Returns the API key; read at call time and never stored
Returns
string
baseUrl
baseUrl:
string
Defined in: eval/src/http-provider.ts:19
API base URL
name
name:
string
Defined in: eval/src/http-provider.ts:17
Name of the provider entry, such as anthropic; messages name it
secrets?
optionalsecrets?: () => readonlystring[]
Defined in: eval/src/http-provider.ts:23
Other values to keep out of error echoes, such as every environment value
Returns
readonly string[]
timeoutMs?
optionaltimeoutMs?:number
Defined in: eval/src/http-provider.ts:29
Time limit of one call in milliseconds, response body included; default 60000