From f268b8e59270f85594d453685c592614bc946221 Mon Sep 17 00:00:00 2001 From: Brandon Zarnitz Date: Tue, 5 May 2026 13:38:04 -0400 Subject: [PATCH] Fix typo in lowest_cost.py --- litellm/router_strategy/lowest_cost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/router_strategy/lowest_cost.py b/litellm/router_strategy/lowest_cost.py index 54498363f51..7fea72bb6da 100644 --- a/litellm/router_strategy/lowest_cost.py +++ b/litellm/router_strategy/lowest_cost.py @@ -96,7 +96,7 @@ class LowestCostLoggingHandler(CustomLogger): self.logged_success += 1 except Exception as e: verbose_logger.exception( - "litellm.router_strategy.lowest_cost.py::log_success_event(): Exception occured - {}".format( + "litellm.router_strategy.lowest_cost.py::log_success_event(): Exception occurred - {}".format( str(e) ) ) @@ -184,7 +184,7 @@ class LowestCostLoggingHandler(CustomLogger): self.logged_success += 1 except Exception as e: verbose_logger.exception( - "litellm.proxy.hooks.prompt_injection_detection.py::async_pre_call_hook(): Exception occured - {}".format( + "litellm.proxy.hooks.prompt_injection_detection.py::async_pre_call_hook(): Exception occurred - {}".format( str(e) ) )