forked from phoenix/litellm-mirror
fix(proxy_server.py): fix update router
This commit is contained in:
parent
fe188f3cc1
commit
b8f862bb76
1 changed files with 0 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue