fix(router.py): add if router caching setup on info logs

This commit is contained in:
Krrish Dholakia 2024-04-20 12:34:09 -07:00
parent 6947dfdd82
commit a9108cbdc2

View file

@ -306,7 +306,7 @@ class Router:
else:
litellm.failure_callback = [self.deployment_callback_on_failure]
verbose_router_logger.info(
f"Intialized router with Routing strategy: {self.routing_strategy}\n\nRouting fallbacks: {self.fallbacks}\n\nRouting context window fallbacks: {self.context_window_fallbacks}"
f"Intialized router with Routing strategy: {self.routing_strategy}\n\nRouting fallbacks: {self.fallbacks}\n\nRouting context window fallbacks: {self.context_window_fallbacks}\n\nRouter caching: {self.cache}"
)
self.routing_strategy_args = routing_strategy_args