Merge pull request #21 from justinh-rahb/main

Some cleanup
This commit is contained in:
Timothy Jaeryang Baek 2024-03-14 15:54:38 -05:00 committed by GitHub
commit cadf46e8d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -1,8 +1,10 @@
# 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:
## 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,9 +14,7 @@ _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.
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: