Skip to content

Commit 5114f16

Browse files
committed
removed unnecessary code
1 parent a0f22f5 commit 5114f16

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mxtoai/routed_litellm_model.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ def __init__(self, current_handle: Optional[ProcessingInstructions] = None, **kw
3434
# Configure model list from environment variables
3535
model_list = self._load_model_config()
3636
client_router_kwargs = self._load_router_config()
37-
38-
self.model_mapping = {
39-
model.model_name: model.litellm_params
40-
for model in model_list
41-
}
4237

4338
# The model_id for LiteLLMRouterModel is the default model group the router will target.
4439
# Our _get_target_model() will override this per call via the 'model' param in generate().

0 commit comments

Comments
 (0)