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
test(vector stores): pin no-db registry fallback case
user1201a0ba5cfe
diff --git a/tests/test_litellm/proxy/vector_store_endpoints/test_vector_store_endpoints.py b/tests/test_litellm/proxy/vector_store_endpoints/test_vector_store_endpoints.pyindex 6dd0e0e68a6..e67a04c749a 100644--- a/tests/test_litellm/proxy/vector_store_endpoints/test_vector_store_endpoints.py+++ b/tests/test_litellm/proxy/vector_store_endpoints/test_vector_store_endpoints.py@@ -156,8 +156,11 @@ async def test_update_request_data_with_litellm_managed_vector_store_registry():vector_store_id="test_store_id")- # Test with no vector store registry- with patch.object(litellm, "vector_store_registry", None):+ # Test with no vector store registry or DB fallback+ with (+ patch.object(litellm, "vector_store_registry", None),+ patch("litellm.proxy.proxy_server.prisma_client", None),+ ):original_data = {"existing_key": "existing_value"}result = await _update_request_data_with_litellm_managed_vector_store_registry(data=original_data, vector_store_id=vector_store_id