(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:
Ishaan Jaff 2025-01-14 20:16:22 -08:00 committed by GitHub
parent 25ae1e9117
commit 6a4e8c33b3
6 changed files with 397 additions and 129 deletions

View file

@ -58,6 +58,7 @@ class BedrockGuardrail(CustomGuardrail, BaseAWSLLM):
self.optional_params = kwargs
super().__init__(**kwargs)
BaseAWSLLM.__init__(self)
def convert_to_bedrock_format(
self,