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: timedelta as cache serializable error
Diogo Munaro Vieirad2ffca24bb44
diff --git a/litellm/router_strategy/lowest_latency.py b/litellm/router_strategy/lowest_latency.pyindex 597a5320983..9e7ab83bf19 100644--- a/litellm/router_strategy/lowest_latency.py+++ b/litellm/router_strategy/lowest_latency.py@@ -108,7 +108,7 @@ class LowestLatencyLoggingHandler(CustomLogger):if final_value is not None:final_value = float(final_value)else:- final_value = response_ms+ final_value = response_secondsif time_to_first_token_response_time is not None:if isinstance(time_to_first_token_response_time, timedelta):