Open nabuskey opened 3 months ago
AWS credentials returned by STS is not cached in most situations. This usually leads to excessive call to STS services that could potentially be throttled.
Looks like it is cached for web token exchange, but not for others: https://github.com/BerriAI/litellm/blob/9f0a05d406bb8b0f4f7bc80b9038b35febc5028f/litellm/llms/bedrock_httpx.py#L458
I'd be happy to work on this.
No response
Great point - yes a pr here is welcome
What happened?
AWS credentials returned by STS is not cached in most situations. This usually leads to excessive call to STS services that could potentially be throttled.
Looks like it is cached for web token exchange, but not for others: https://github.com/BerriAI/litellm/blob/9f0a05d406bb8b0f4f7bc80b9038b35febc5028f/litellm/llms/bedrock_httpx.py#L458
I'd be happy to work on this.
Relevant log output
No response
Twitter / LinkedIn details
No response