(docs) bedrock pass existing client to completion

This commit is contained in:
Zeeshan Hooda 2023-10-09 01:01:42 -06:00
parent 5f55b4a1ab
commit f735ca7e46
No known key found for this signature in database
GPG key ID: 915BD527A339A46A
2 changed files with 23 additions and 2 deletions

View file

@ -276,8 +276,8 @@ def completion(
init_bedrock_client(
aws_access_key_id=aws_access_key_id,
aws_secret_access_key=aws_secret_access_key,
aws_region_name=aws_region_name
)
aws_region_name=aws_region_name,
),
)
model = model