mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(test) add bedrock existing client auth test
This commit is contained in:
parent
f735ca7e46
commit
112df4a19d
3 changed files with 69 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue