From 2ea918d31085b5c8028cf77201cb80fa515895ba Mon Sep 17 00:00:00 2001 From: Justin Hayes <justinh@rahb.ca> 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 879191792a7707532374523db379cd8536def10e Mon Sep 17 00:00:00 2001 From: Justin Hayes <justinh@rahb.ca> 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 6137459524ff08a75d521e6c2019537201c60c7a Mon Sep 17 00:00:00 2001 From: Justin Hayes <justinh@rahb.ca> 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://<your_automatic1111_address>:7860 From a17b5ec38d591e9c454b5179eecc7ad1d996af29 Mon Sep 17 00:00:00 2001 From: Justin Hayes <justinh@rahb.ca> 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 c268843f0d9ee667fec5abd0be3c323130500411 Mon Sep 17 00:00:00 2001 From: Justin Hayes <justinh@rahb.ca> 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