File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,8 +224,8 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
224224
225225 if ( this . options . awsUseApiKey && this . options . awsApiKey ) {
226226 // Use API key/token-based authentication if enabled and API key is set
227- clientConfig . token = { token : this . options . awsApiKey }
228- clientConfig . authSchemePreference = [ "httpBearerAuth" ] // Otherwise there's no end of credential problems.
227+ ; ( clientConfig as any ) . token = { token : this . options . awsApiKey }
228+ ; ( clientConfig as any ) . authSchemePreference = [ "httpBearerAuth" ] // Otherwise there's no end of credential problems.
229229 } else if ( this . options . awsUseProfile && this . options . awsProfile ) {
230230 // Use profile-based credentials if enabled and profile is set
231231 clientConfig . credentials = fromIni ( {
You can’t perform that action at this time.
0 commit comments