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
7facfa33
Commit
7facfa33
authored
May 17, 2024
by
Timothy J. Baek
Browse files
fix: litellm model filtering
parent
3aa6b0fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/apps/litellm/main.py
backend/apps/litellm/main.py
+2
-2
No files found.
backend/apps/litellm/main.py
View file @
7facfa33
...
@@ -75,8 +75,8 @@ with open(LITELLM_CONFIG_DIR, "r") as file:
...
@@ -75,8 +75,8 @@ with open(LITELLM_CONFIG_DIR, "r") as file:
litellm_config
=
yaml
.
safe_load
(
file
)
litellm_config
=
yaml
.
safe_load
(
file
)
app
.
state
.
ENABLE_MODEL_FILTER
=
ENABLE_MODEL_FILTER
app
.
state
.
ENABLE_MODEL_FILTER
=
ENABLE_MODEL_FILTER
.
value
app
.
state
.
MODEL_FILTER_LIST
=
MODEL_FILTER_LIST
app
.
state
.
MODEL_FILTER_LIST
=
MODEL_FILTER_LIST
.
value
app
.
state
.
ENABLE
=
ENABLE_LITELLM
app
.
state
.
ENABLE
=
ENABLE_LITELLM
...
...
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