From 2371df9deddc2f617e3a9b48b413dbfeba12473d Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 31 Jul 2024 15:28:41 -0700 Subject: [PATCH] allow setting files config --- litellm/proxy/proxy_server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 9f96dd286..1e44c4418 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -181,6 +181,7 @@ from litellm.proxy.management_endpoints.team_endpoints import router as team_rou from litellm.proxy.openai_files_endpoints.files_endpoints import ( router as openai_files_router, ) +from litellm.proxy.openai_files_endpoints.files_endpoints import set_files_config from litellm.proxy.pass_through_endpoints.pass_through_endpoints import ( initialize_pass_through_endpoints, ) @@ -1815,6 +1816,7 @@ class ProxyConfig: ## /files endpoint config files_config = config.get("files_settings", None) + set_files_config(config=files_config) ## ROUTER SETTINGS (e.g. routing_strategy, ...) router_settings = config.get("router_settings", None)