From 245960708dc3ad6daefd2a99ab98fa97d6bef23a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 7 May 2024 12:49:20 -0700 Subject: [PATCH] fix - lowest cost routing --- litellm/router_strategy/lowest_cost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/router_strategy/lowest_cost.py b/litellm/router_strategy/lowest_cost.py index 25783fad7..bdf4643a9 100644 --- a/litellm/router_strategy/lowest_cost.py +++ b/litellm/router_strategy/lowest_cost.py @@ -189,7 +189,7 @@ class LowestCostLoggingHandler(CustomLogger): ) self.router_cache.set_cache( - key=cost_key, value=request_count_dict, ttl=self.routing_args.ttl + key=cost_key, value=request_count_dict ) # reset map within window ### TESTING ###