The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
refactor(files): import MAX_FILE_LIST_LIMIT from litellm.constants in the managed files hook
mateo-berri9b5205b62dbd
diff --git a/enterprise/litellm_enterprise/proxy/hooks/managed_files.py b/enterprise/litellm_enterprise/proxy/hooks/managed_files.pyindex 748ab5dd26a..cb3c2936b49 100644--- a/enterprise/litellm_enterprise/proxy/hooks/managed_files.py+++ b/enterprise/litellm_enterprise/proxy/hooks/managed_files.py@@ -27,6 +27,7 @@ import litellmfrom litellm import Router, verbose_loggerfrom litellm._uuid import uuidfrom litellm.caching.caching import DualCache+from litellm.constants import MAX_FILE_LIST_LIMITfrom litellm.integrations.custom_logger import CustomLoggerfrom litellm.litellm_core_utils.prompt_templates.common_utils import (extract_file_metadata,@@ -47,7 +48,6 @@ from litellm.proxy._types import ()from litellm.proxy.openai_files_endpoints.common_utils import (FILE_LIST_CONTINUATION_CHUNK_SIZE,- MAX_FILE_LIST_LIMIT,_is_base64_encoded_unified_file_id,apply_unified_file_ids,decode_model_from_file_id,