From 79bbfcd2767b36c302cd15837980fb7b8ee27128 Mon Sep 17 00:00:00 2001 From: Ismail Ashraq <issey1455@gmail.com> Date: Wed, 21 Feb 2024 14:01:35 +0500 Subject: [PATCH] lint fix --- semantic_router/layer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 694f4ebe..186b32d0 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -110,9 +110,9 @@ class LayerConfig: llm_class = getattr(llm_module, llm_data["class"]) # Instantiate the LLM class with the provided model name llm = llm_class(name=llm_data["model"]) - route_data["llm"] = ( - llm # Reassign the instantiated llm object back to route_data - ) + route_data[ + "llm" + ] = llm # Reassign the instantiated llm object back to route_data # Dynamically create the Route object using the remaining route_data route = Route(**route_data) -- GitLab