mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(docs) proxy
This commit is contained in:
parent
b16646e584
commit
da90d01d04
1 changed files with 2 additions and 2 deletions
|
@ -668,13 +668,13 @@ general_settings:
|
||||||
|
|
||||||
**Step 2: Start litellm**
|
**Step 2: Start litellm**
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
litellm --config /path/to/config.yaml
|
litellm --config /path/to/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 3: Generate temporary keys**
|
**Step 3: Generate temporary keys**
|
||||||
|
|
||||||
```curl
|
```shell
|
||||||
curl 'http://0.0.0.0:8000/key/generate' \
|
curl 'http://0.0.0.0:8000/key/generate' \
|
||||||
--h 'Authorization: Bearer sk-1234' \
|
--h 'Authorization: Bearer sk-1234' \
|
||||||
--d '{"models": ["gpt-3.5-turbo", "gpt-4", "claude-2"], "duration": "20m"}'
|
--d '{"models": ["gpt-3.5-turbo", "gpt-4", "claude-2"], "duration": "20m"}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue