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
Help mypy with typing asearch
xyweied0ad6fd5998
diff --git a/litellm/integrations/vector_store_integrations/vector_store_pre_call_hook.py b/litellm/integrations/vector_store_integrations/vector_store_pre_call_hook.pyindex 59c378f8204..8ef160dd783 100644--- a/litellm/integrations/vector_store_integrations/vector_store_pre_call_hook.py+++ b/litellm/integrations/vector_store_integrations/vector_store_pre_call_hook.py@@ -8,6 +8,7 @@ It searches the vector store for relevant context and appends it to the messagesfrom typing import TYPE_CHECKING, Dict, List, Optional, Tuple, castimport litellm+import litellm.vector_storesfrom litellm._logging import verbose_loggerfrom litellm.integrations.custom_logger import CustomLoggerfrom litellm.types.llms.openai import AllMessageValues, ChatCompletionUserMessage@@ -192,4 +193,4 @@ class VectorStorePreCallHook(CustomLogger):modified_messages.insert(-1, cast(AllMessageValues, context_message))return modified_messages- return messages\ No newline at end of file+ return messages