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
fix(proxy/utils.py): fix create missing views check (#5953)
Krish Dholakia754981a78f26
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.pyindex 771fa76357c..69dc730a7f3 100644--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@ -1179,9 +1179,9 @@ class PrismaClient:"LiteLLM_VerificationTokenView Created in DB!")else:- should_create_views = await should_create_missing_views(db=self.db.db) # type: ignore+ should_create_views = await should_create_missing_views(db=self.db)if should_create_views:- await create_missing_views(db=self.db) # type: ignore+ await create_missing_views(db=self.db)else:# don't block execution if these views are missing# Convert lists to sets for efficient difference calculation