forked from phoenix/litellm-mirror
docs: fix pip install litellm[proxy] instruction
This commit is contained in:
parent
bf56179da8
commit
b51d98c6e3
9 changed files with 8 additions and 14 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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]'
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue