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
Revert "fix - deal with case when check view exists returns None (#5740)" (#5741)
Ishaan Jaff8de6e3d3ba9c
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.pyindex f8d463dd6cc..f0ee7ea9f7d 100644--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@ -991,11 +991,6 @@ class PrismaClient:""")expected_total_views = len(expected_views)-- # Deal with case when ret is None- if ret is None:- ret = [{"view_count": 0, "view_names": []}]-if ret[0]["view_count"] == expected_total_views:verbose_proxy_logger.info("All necessary views exist!")return