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:test_api_error_handling
Sameer Kankute15a28c7fe2b8
diff --git a/litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py b/litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.pyindex ea8f1b0a97f..5850103132c 100644--- a/litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py+++ b/litellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py@@ -118,7 +118,7 @@ class LassoGuardrail(CustomGuardrail):Falls back to UUID if ULID library is not available."""if ULID_AVAILABLE and ulid is not None:- return str(ulid.new()) # type: ignore+ return str(ulid.ULID()) # type: ignoreelse:verbose_proxy_logger.debug("ULID library not available, using UUID")return str(uuid.uuid4())