test(test_models.py): ensure only admin can call /health

This commit is contained in:
Krrish Dholakia 2024-04-16 18:13:40 -07:00
parent caec0a3938
commit 2ffd057042
3 changed files with 4 additions and 3 deletions

View file

@ -2622,7 +2622,7 @@ class ProxyConfig:
# router settings
_router_settings = config_data.get("router_settings", {})
llm_router.set_settings(**_router_settings)
llm_router.update_settings(**_router_settings)
except Exception as e:
verbose_proxy_logger.error(
"{}\nTraceback:{}".format(str(e), traceback.format_exc())