mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
docs(simple_proxy.md): improve librechat tutorial
This commit is contained in:
parent
3d850337a2
commit
aea74758e6
1 changed files with 4 additions and 2 deletions
|
|
@ -368,12 +368,14 @@ git clone https://github.com/danny-avila/LibreChat.git
|
|||
```
|
||||
|
||||
|
||||
#### 2. Modify `docker-compose.yml`
|
||||
#### 2. Modify Librechat's `docker-compose.yml`
|
||||
```yaml
|
||||
OPENAI_REVERSE_PROXY=http://host.docker.internal:8000/v1/chat/completions
|
||||
```
|
||||
|
||||
#### 3. Save fake OpenAI key in `.env`
|
||||
#### 3. Save fake OpenAI key in Librechat's `.env`
|
||||
|
||||
Copy Librechat's `.env.example` to `.env` and overwrite the default OPENAI_API_KEY (by default it requires the user to pass a key).
|
||||
```env
|
||||
OPENAI_API_KEY=sk-1234
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue