mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
* feat(rust): add litellm-s3 crate, AwsCredentialsProvider and cost map fetch * fix(model-catalog-refresh): time each read instead of the whole cost map download The 5 s fetch timeout covered the full body, so a slow but steady link failed every attempt where httpx and boto3 would finish. Each read now gets its own 5 s, matching main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
459 B
459 B
litellm-s3 builds aws-sdk-s3 clients that send through litellm_http::Client, and owns the S3 concepts the SDK lacks, such as the s3://bucket/key URI. It reads no environment and picks no credentials: the host passes the region, the endpoint and a credentials provider, usually litellm_auth_aws::AwsCredentialsProvider
Operation policy such as retries, timeouts and checksum settings stays with the caller, which adjusts the returned config builder