mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
(docs) Default /key/generate params
This commit is contained in:
parent
72b9e539c8
commit
45dacc5336
1 changed files with 12 additions and 0 deletions
|
|
@ -278,6 +278,18 @@ Request Params:
|
|||
}
|
||||
```
|
||||
|
||||
## Default /key/generate params
|
||||
Use this, if you need to control the default `max_budget` or any `key/generate` param per key
|
||||
|
||||
Set `litellm_settings:default_key_generate_params`:
|
||||
litellm_settings:
|
||||
default_key_generate_params:
|
||||
max_budget: 1.5000
|
||||
models: ["azure-gpt-3.5"]
|
||||
duration: # blank means `null`
|
||||
metadata: {"setting":"default"}
|
||||
team_id: "core-infra"
|
||||
|
||||
## Set Budgets - Per Key
|
||||
|
||||
Set `max_budget` in (USD $) param in the `key/generate` request. By default the `max_budget` is set to `null` and is not checked for keys
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue