From 6640eec1f19e4a9dc2a193ece395a5cf9cf464be Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 14 Jan 2026 17:31:32 +0000 Subject: [PATCH] fix(litellm/proxy/_types.py): Add container routes to openai_routes to allow non-admin access Co-authored-by: ishaan --- litellm/proxy/_types.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index a1186f8e372..adcdcefe2ec 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -360,6 +360,17 @@ class LiteLLMRoutes(enum.Enum): # OCR "/ocr", "/v1/ocr", + # containers + "/containers", + "/v1/containers", + "/containers/{container_id}", + "/v1/containers/{container_id}", + "/containers/{container_id}/files", + "/v1/containers/{container_id}/files", + "/containers/{container_id}/files/{file_id}", + "/v1/containers/{container_id}/files/{file_id}", + "/containers/{container_id}/files/{file_id}/content", + "/v1/containers/{container_id}/files/{file_id}/content", ] mapped_pass_through_routes = [