BedrockConfig
Auto-generated API reference for BedrockConfig.
Interface: BedrockConfig
Defined in: bedrock.ts:3
#Properties
#client?
optionalclient?:BedrockRuntimeClientLike
Defined in: bedrock.ts:15
Override the SDK client. Mostly for tests; production code should let the
adapter create the client from region + the SDK's default credential
chain.
#maxTokens?
optionalmaxTokens?:number
Defined in: bedrock.ts:9
Override max_tokens (Anthropic on Bedrock requires it). Defaults to 4096.
#model
model:
string
Defined in: bedrock.ts:5
Bedrock model id, e.g. anthropic.claude-3-5-sonnet-20241022-v2:0.
#region?
optionalregion?:string
Defined in: bedrock.ts:7
AWS region (e.g. us-east-1). Falls back to the SDK's default credential chain.