diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 5e99d3861d5e2e7794312a47e260a1fc06101577..23f82da319d478ea30d487a526b63687026ed4ab 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -188,7 +188,9 @@ class RouteLayer: # get chosen route object matching_routes = [route for route in self.routes if route.name == top_class] if not matching_routes: - logger.error(f"No route found with name {top_class}. Check to see if any Routes have been defined.") + logger.error( + f"No route found with name {top_class}. Check to see if any Routes have been defined." + ) return RouteChoice() route = matching_routes[0] threshold = (