From f07f576c9a90161574aef3b2f413ccbbf27c666b Mon Sep 17 00:00:00 2001 From: "7. Sun" Date: Fri, 27 Mar 2026 09:32:41 +0000 Subject: [PATCH] fix(s3): truncate long id in s3_object_download_filename --- litellm/integrations/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/s3.py b/litellm/integrations/s3.py index 2e70b1d6519..0d26637d9b3 100644 --- a/litellm/integrations/s3.py +++ b/litellm/integrations/s3.py @@ -150,7 +150,7 @@ class S3Logger: "time-" + start_time.strftime("%Y-%m-%dT%H-%M-%S-%f") + "_" - + payload["id"] + + str(payload["id"])[:150] + ".json" )