Skip to content

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]

litellm_fix: add missing timezone import to proxy_server.py (#20121)

shin-bot-litellm08e4d06f0c17
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index 078ce0edf27..a00f1f605a9 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -11,7 +11,7 @@ import sys
import time
import traceback
import warnings
-from datetime import datetime, timedelta
+from datetime import datetime, timedelta, timezone
import enum
from typing import (
TYPE_CHECKING,