mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
fix: DATA_DIR was not respected when loading litellm configs
This commit is contained in:
parent
9e9306fd2b
commit
58bead0398
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user