(test) add bedrock existing client auth test

This commit is contained in:
Zeeshan Hooda 2023-10-09 01:32:51 -06:00
parent f735ca7e46
commit 112df4a19d
No known key found for this signature in database
GPG key ID: 915BD527A339A46A
3 changed files with 69 additions and 6 deletions

View file

@ -269,7 +269,7 @@ def completion(
aws_access_key_id = optional_params.pop("aws_access_key_id", None)
aws_region_name = optional_params.pop("aws_region_name", None)
# use passed in BedrockClient if provided, otherwise init a new one
# use passed in BedrockRuntime.Client if provided, otherwise create a new one
client = optional_params.pop(
"aws_bedrock_client",
# only pass variables that are not None