docs: fix pip install litellm[proxy] instruction

This commit is contained in:
Krrish Dholakia 2024-01-06 13:49:15 +05:30
parent bf56179da8
commit b51d98c6e3
9 changed files with 8 additions and 14 deletions

View file

@ -129,7 +129,7 @@ The proxy provides:
## Quick Start Proxy - CLI ## Quick Start Proxy - CLI
```shell ```shell
pip install litellm[proxy] pip install 'litellm[proxy]'
``` ```
### Step 1: Start litellm proxy ### Step 1: Start litellm proxy

View file

@ -411,7 +411,7 @@ The proxy provides:
### Quick Start Proxy - CLI ### Quick Start Proxy - CLI
```shell ```shell
pip install litellm[proxy] pip install 'litellm[proxy]'
``` ```
#### Step 1: Start litellm proxy #### Step 1: Start litellm proxy

View file

@ -251,7 +251,7 @@ s/o to [@David Manouchehri](https://www.linkedin.com/in/davidmanouchehri/) for h
1. Install Proxy dependencies 1. Install Proxy dependencies
```bash ```bash
$ pip install litellm[proxy] litellm[extra_proxy] $ pip install 'litellm[proxy]' 'litellm[extra_proxy]'
``` ```
2. Save Azure details in your environment 2. Save Azure details in your environment

View file

@ -19,12 +19,6 @@ LiteLLM Server manages:
View all the supported args for the Proxy CLI [here](https://docs.litellm.ai/docs/simple_proxy#proxy-cli-arguments) View all the supported args for the Proxy CLI [here](https://docs.litellm.ai/docs/simple_proxy#proxy-cli-arguments)
```shell
$ pip install litellm[proxy]
```
If this fails try running
```shell ```shell
$ pip install 'litellm[proxy]' $ pip install 'litellm[proxy]'
``` ```

View file

@ -13,7 +13,7 @@ Docs outdated. New docs 👉 [here](./simple_proxy)
## Usage ## Usage
```shell ```shell
pip install litellm[proxy] pip install 'litellm[proxy]'
``` ```
```shell ```shell
$ litellm --model ollama/codellama $ litellm --model ollama/codellama

View file

@ -40,7 +40,7 @@ litellm.get_secret("your-test-key")
1. Install Proxy dependencies 1. Install Proxy dependencies
```bash ```bash
pip install litellm[proxy] litellm[extra_proxy] pip install 'litellm[proxy]' 'litellm[extra_proxy]'
``` ```
2. Save Azure details in your environment 2. Save Azure details in your environment

View file

@ -16,7 +16,7 @@ LiteLLM Server manages:
View all the supported args for the Proxy CLI [here](https://docs.litellm.ai/docs/simple_proxy#proxy-cli-arguments) View all the supported args for the Proxy CLI [here](https://docs.litellm.ai/docs/simple_proxy#proxy-cli-arguments)
```shell ```shell
$ pip install litellm[proxy] $ pip install 'litellm[proxy]'
``` ```
```shell ```shell

View file

@ -390,7 +390,7 @@ The proxy provides:
### Quick Start Proxy - CLI ### Quick Start Proxy - CLI
```shell ```shell
pip install litellm[proxy] pip install 'litellm[proxy]'
``` ```
#### Step 1: Start litellm proxy #### Step 1: Start litellm proxy

View file

@ -20,7 +20,7 @@ try:
import yaml import yaml
import orjson import orjson
except ImportError as e: except ImportError as e:
raise ImportError(f"Missing dependency {e}. Run `pip install litellm[proxy]`") raise ImportError(f"Missing dependency {e}. Run `pip install 'litellm[proxy]'`")
import random import random