From 7351f22b9dce106fc4ec202beb899ca687611c0d Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Mon, 26 Feb 2024 00:07:56 -0500 Subject: [PATCH 1/5] Update litellm.md Makes web previews better --- docs/tutorial/litellm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/litellm.md b/docs/tutorial/litellm.md index df160bf..72f1db0 100644 --- a/docs/tutorial/litellm.md +++ b/docs/tutorial/litellm.md @@ -1,8 +1,10 @@ # LiteLLM Config +[LiteLLM](https://litellm.vercel.app/docs/proxy/configs#quick-start) supports a variety of APIs, both OpenAI-compatible and others. To integrate a new API model, follow these instructions: + ## Initial Setup -To allow editing of your [LiteLLM](https://litellm.vercel.app/docs/proxy/configs#quick-start) `config.yaml` file, use `-v /path/to/litellm/config.yaml:/app/backend/data/litellm/config.yaml` to bind-mount it with your `docker run` command: +To allow editing of your `config.yaml` file, use `-v /path/to/litellm/config.yaml:/app/backend/data/litellm/config.yaml` to bind-mount it with your `docker run` command: ```bash docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -v /path/to/litellm/config.yaml:/app/backend/data/litellm/config.yaml --name open-webui --restart always ghcr.io/open-webui/open-webui:main @@ -12,8 +14,6 @@ _Note: `config.yaml` does not need to exist on the host before running for the f ## Configuring Open WebUI -**LiteLLM** supports a variety of APIs, both OpenAI-compatible and others. To integrate a new API model, follow these instructions: - 1. Go to the Settings > Models > LiteLLM model management interface. 2. In 'Simple' mode, you will only see the option to enter a **Model**. 3. For additional configuration options, click on the 'Simple' toggle to switch to 'Advanced' mode. Here you can enter: From d155bc300e2135b7f12e9f221acc2953f0e39480 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Mon, 26 Feb 2024 00:10:36 -0500 Subject: [PATCH 2/5] Update litellm.md Config => Configuration --- docs/tutorial/litellm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/litellm.md b/docs/tutorial/litellm.md index 72f1db0..ff69df6 100644 --- a/docs/tutorial/litellm.md +++ b/docs/tutorial/litellm.md @@ -1,4 +1,4 @@ -# LiteLLM Config +# LiteLLM Configuration [LiteLLM](https://litellm.vercel.app/docs/proxy/configs#quick-start) supports a variety of APIs, both OpenAI-compatible and others. To integrate a new API model, follow these instructions: From dafda8f98cabc41f1f5b83f5427085e9aa9597f1 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Mon, 26 Feb 2024 01:37:14 -0500 Subject: [PATCH 3/5] Update images.md --- docs/tutorial/images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/images.md b/docs/tutorial/images.md index d65d037..9f8b188 100644 --- a/docs/tutorial/images.md +++ b/docs/tutorial/images.md @@ -13,7 +13,7 @@ Open WebUI now supports image generation through the **AUTOMATIC1111** [API](htt ## Configuring Open WebUI -1. In Open WebUI, navigate to Settings > Images. +1. In Open WebUI, navigate to **Settings > Images**. 2. In the API URL field, enter the address where AUTOMATIC1111's API is accessible, following this format: ``` http://:7860 From 8e560e41f703ebd8e4188c5d0321ee1c3fb8ccc9 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Mon, 26 Feb 2024 01:38:26 -0500 Subject: [PATCH 4/5] Update litellm.md --- docs/tutorial/litellm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/litellm.md b/docs/tutorial/litellm.md index ff69df6..d34c715 100644 --- a/docs/tutorial/litellm.md +++ b/docs/tutorial/litellm.md @@ -14,7 +14,7 @@ _Note: `config.yaml` does not need to exist on the host before running for the f ## Configuring Open WebUI -1. Go to the Settings > Models > LiteLLM model management interface. +1. Go to the **Settings > Models > Manage LiteLLM Models**. 2. In 'Simple' mode, you will only see the option to enter a **Model**. 3. For additional configuration options, click on the 'Simple' toggle to switch to 'Advanced' mode. Here you can enter: From 70beedf04c7c9e8ce3ed3113f4eb236e19f49ce8 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Mon, 26 Feb 2024 11:39:35 -0500 Subject: [PATCH 5/5] Update index.md Fix command mistake --- docs/getting-started/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md index 9db92c2..e71afc8 100644 --- a/docs/getting-started/index.md +++ b/docs/getting-started/index.md @@ -170,7 +170,7 @@ git clone https://github.com/open-webui/open-webui.git cd open-webui/ # Copying required .env file -cp -RPp example.env .env +cp -RPp .env.example .env # Building Frontend Using Node npm i