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
chore(caching): annotate qdrant quantization_params dict type
user7d7244986ed2
diff --git a/litellm/caching/qdrant_semantic_cache.py b/litellm/caching/qdrant_semantic_cache.pyindex a9f01a4c902..9206f326ecd 100644--- a/litellm/caching/qdrant_semantic_cache.py+++ b/litellm/caching/qdrant_semantic_cache.py@@ -12,7 +12,7 @@ import astimport asyncioimport jsonimport os-from typing import Any, Optional, cast+from typing import Any, Dict, Optional, castimport litellmfrom litellm._logging import print_verbose@@ -135,6 +135,7 @@ class QdrantSemanticCache(BaseCache):)self._ensure_cache_key_payload_index()else:+ quantization_params: Dict[str, Any]if quantization_config is None or quantization_config == "binary":quantization_params = {"binary": {