mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
fix: litellm model filtering
This commit is contained in:
parent
3aa6b0fea9
commit
7facfa33d0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user