Skip to main content

Interface: IProviderCredentials

Defined in: internal/llm-client/types.ts:75

How to reach one provider.

apiKey is the provider's key; for EModelProvider.BEDROCK it is a Bedrock API key (bearer token), not an IAM key pair.

Properties​

apiKey​

apiKey: string

Defined in: internal/llm-client/types.ts:77

The provider's API key; for Bedrock the bearer token.


baseUrl?​

optional baseUrl?: string

Defined in: internal/llm-client/types.ts:79

For proxies or self-hosted gateways.


region?​

optional region?: string

Defined in: internal/llm-client/types.ts:87

AWS region of the Bedrock endpoint; EModelProvider.BEDROCK only, ignored by the other providers.

Example​

"eu-central-1" - the models must be enabled for the account in that region

Default​

the AWS_REGION environment variable, else "us-east-1"