From 03fb143a874b7e6025e5615c61140f9cbb10bba6 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 29 Nov 2023 21:03:09 -0800 Subject: [PATCH] docs(simple_proxy.md): adding librechat tutorial to docs --- docs/my-website/docs/simple_proxy.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/simple_proxy.md b/docs/my-website/docs/simple_proxy.md index 48fa58f30..2f8b82fda 100644 --- a/docs/my-website/docs/simple_proxy.md +++ b/docs/my-website/docs/simple_proxy.md @@ -235,7 +235,7 @@ $ litellm --model command-nightly - + + +#### 1. Clone the repo + +```shell +git clone https://github.com/danny-avila/LibreChat.git +``` + + +#### 2. Modify `docker-compose.yml` +```yaml +OPENAI_REVERSE_PROXY=http://host.docker.internal:8000/v1/chat/completions +``` + +#### 3. Save fake OpenAI key in `.env` +```env +OPENAI_API_KEY=sk-1234 +``` + +#### 4. Run LibreChat: +```shell +docker compose up +``` + + ## Proxy Configs The Config allows you to set the following params