mirror of
https://github.com/open-webui/docs
synced 2025-05-20 11:18:42 +00:00
Update litellm.md
Makes web previews better
This commit is contained in:
parent
3ae6009141
commit
2ea918d310
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user