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 - use import fastuuid as uuid (#14016)
Ishaan Jaff3fe05b300a4a
diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.pyindex f4d794d94bc..13b55bff46f 100644--- a/litellm/proxy/common_request_processing.py+++ b/litellm/proxy/common_request_processing.py@@ -1,7 +1,6 @@import asyncioimport jsonimport traceback-import uuidfrom datetime import datetimefrom typing import (TYPE_CHECKING,@@ -14,6 +13,7 @@ from typing import (Union,)+import fastuuid as uuidimport httpximport orjsonfrom fastapi import HTTPException, Request, statusdiff --git a/litellm/utils.py b/litellm/utils.pyindex 40a1438b3fe..6375c1f2448 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -32,7 +32,6 @@ import textwrapimport threadingimport timeimport traceback-import uuidfrom dataclasses import dataclass, fieldfrom functools import lru_cache, wrapsfrom importlib import resources@@ -41,6 +40,7 @@ from os.path import abspath, dirname, joinimport aiohttpimport dotenv+import fastuuid as uuidimport httpximport openaiimport tiktoken