From b8f862bb7669da8172fe3bb096ae1c23501bd8f8 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 24 Apr 2024 23:01:21 -0700 Subject: [PATCH] fix(proxy_server.py): fix update router --- litellm/proxy/proxy_server.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 9920e198f4..1a26a09fce 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -8502,16 +8502,6 @@ async def update_config(config_info: ConfigYAML): "success_callback" ] = combined_success_callback - # router settings - if config_info.router_settings is not None: - config.setdefault("router_settings", {}) - _updated_router_settings = config_info.router_settings - - config["router_settings"] = { - **config["router_settings"], - **_updated_router_settings, - } - # Save the updated config await proxy_config.save_config(new_config=config)