mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(docs) caching
This commit is contained in:
parent
2fb94b4cc3
commit
71042ee345
1 changed files with 4 additions and 0 deletions
|
@ -894,6 +894,10 @@ LiteLLM requires the following REDIS credentials in your env to enable caching
|
|||
REDIS_PORT = "" # REDIS_PORT='18841'
|
||||
REDIS_PASSWORD = "" # REDIS_PASSWORD='liteLlmIsAmazing'
|
||||
```
|
||||
#### Step 3: Run proxy with config
|
||||
```shell
|
||||
$ litellm --config /path/to/config.yaml
|
||||
```
|
||||
|
||||
#### Using Caching
|
||||
Send the same request twice:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue