mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(fix) BaseAWSLLM
- cache IAM role credentials when used (#7775)
* fix base aws llm * fix auth with aws role * test aws base llm * fix base aws llm init * run ci/cd again * fix get_credentials * ci/cd run again * _auth_with_aws_role
This commit is contained in:
parent
25ae1e9117
commit
6a4e8c33b3
6 changed files with 397 additions and 129 deletions
|
@ -58,6 +58,7 @@ class BedrockGuardrail(CustomGuardrail, BaseAWSLLM):
|
|||
self.optional_params = kwargs
|
||||
|
||||
super().__init__(**kwargs)
|
||||
BaseAWSLLM.__init__(self)
|
||||
|
||||
def convert_to_bedrock_format(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue