Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
58bead03
Commit
58bead03
authored
Apr 23, 2024
by
Jun Siang Cheah
Browse files
fix: DATA_DIR was not respected when loading litellm configs
parent
9e9306fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/litellm/main.py
backend/apps/litellm/main.py
+1
-1
No files found.
backend/apps/litellm/main.py
View file @
58bead03
...
@@ -96,7 +96,7 @@ async def run_background_process(command):
...
@@ -96,7 +96,7 @@ async def run_background_process(command):
async
def
start_litellm_background
():
async
def
start_litellm_background
():
log
.
info
(
"start_litellm_background"
)
log
.
info
(
"start_litellm_background"
)
# Command to run in the 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
)
await
run_background_process
(
command
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment