From 58bead039892136ac16e601d37e0dd87a3a75bf3 Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Tue, 23 Apr 2024 19:22:41 +0100 Subject: [PATCH] fix: DATA_DIR was not respected when loading litellm configs --- backend/apps/litellm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/litellm/main.py b/backend/apps/litellm/main.py index b1752f8c6..bdf70615c 100644 --- a/backend/apps/litellm/main.py +++ b/backend/apps/litellm/main.py @@ -96,7 +96,7 @@ async def run_background_process(command): async def start_litellm_background(): log.info("start_litellm_background") # Command to run in the background - command = f"litellm --port {LITELLM_PROXY_PORT} --host {LITELLM_PROXY_HOST} --telemetry False --config ./data/litellm/config.yaml" + command = f"litellm --port {LITELLM_PROXY_PORT} --host {LITELLM_PROXY_HOST} --telemetry False --config {LITELLM_CONFIG_DIR}" await run_background_process(command)