mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix(litellm/proxy/_types.py): Add container routes to openai_routes to allow non-admin access
Co-authored-by: ishaan <ishaan@berri.ai>
This commit is contained in:
parent
c215b3a79f
commit
6640eec1f1
1 changed files with 11 additions and 0 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue