From 068e865a4d4822a679e49a4050884dab8d837866 Mon Sep 17 00:00:00 2001 From: Benjamin Oldenburg Date: Fri, 17 May 2024 10:53:43 +0700 Subject: [PATCH 1/2] Update whitelist.md Corrected documentation based on what I found in the code. --- docs/tutorial/whitelist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/whitelist.md b/docs/tutorial/whitelist.md index 0226272..86fd6f7 100644 --- a/docs/tutorial/whitelist.md +++ b/docs/tutorial/whitelist.md @@ -20,7 +20,7 @@ Open WebUI allows you to filter specific models for use in your instance. This f You can also whitelist models by adding environment variables to the backend. This method is useful for automated deployments and can be done by adding the following environment variables to your `docker run` command: ```bash --e MODEL_FILTER_ENABLED=True \ +-e ENABLE_MODEL_FILTER=True \ -e MODEL_FILTER_LIST="llama2:13b;mistral:latest;gpt-3.5-turbo" \ ``` From 5ef4d8bdef26fa5d5d9c16bb9bf77f281a177712 Mon Sep 17 00:00:00 2001 From: Benjamin Oldenburg Date: Mon, 20 May 2024 14:29:18 +0700 Subject: [PATCH 2/2] Made missing change (ENABLE_MODEL_FILTER) --- docs/tutorial/whitelist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/whitelist.md b/docs/tutorial/whitelist.md index 86fd6f7..257e469 100644 --- a/docs/tutorial/whitelist.md +++ b/docs/tutorial/whitelist.md @@ -24,4 +24,4 @@ You can also whitelist models by adding environment variables to the backend. Th -e MODEL_FILTER_LIST="llama2:13b;mistral:latest;gpt-3.5-turbo" \ ``` -In this example, the `MODEL_FILTER_ENABLED` variable is set to `True` to enable the feature, and the `MODEL_FILTER_LIST` variable lists the models to be whitelisted. The format for the `MODEL_FILTER_LIST` variable is `model_name:version;model_name:version;...`. +In this example, the `ENABLE_MODEL_FILTER` variable is set to `True` to enable the feature, and the `MODEL_FILTER_LIST` variable lists the models to be whitelisted. The format for the `MODEL_FILTER_LIST` variable is `model_name:version;model_name:version;...`.