Skip to content

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]

Add managed vector store hooks

Sameer Kankute26c0624fd7e2
diff --git a/enterprise/enterprise_hooks/__init__.py b/enterprise/enterprise_hooks/__init__.py
index 9eb1c8960a6..a24e885e52e 100644
--- a/enterprise/enterprise_hooks/__init__.py
+++ b/enterprise/enterprise_hooks/__init__.py
@@ -1,11 +1,19 @@
from typing import Dict, Literal, Type, Union
from litellm_enterprise.proxy.hooks.managed_files import _PROXY_LiteLLMManagedFiles
+from litellm_enterprise.proxy.hooks.managed_vector_store_files import (
+ _PROXY_LiteLLMManagedVectorStoreFiles,
+)
+from litellm_enterprise.proxy.hooks.managed_vector_stores import (
+ _PROXY_LiteLLMManagedVectorStores,
+)
from litellm.integrations.custom_logger import CustomLogger
ENTERPRISE_PROXY_HOOKS: Dict[str, Type[CustomLogger]] = {
"managed_files": _PROXY_LiteLLMManagedFiles,
+ "managed_vector_stores": _PROXY_LiteLLMManagedVectorStores,
+ "managed_vector_store_files": _PROXY_LiteLLMManagedVectorStoreFiles,
}
@@ -13,6 +21,8 @@ def get_enterprise_proxy_hook(
hook_name: Union[
Literal[
"managed_files",
+ "managed_vector_stores",
+ "managed_vector_store_files",
"max_parallel_requests",
],
str,