mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
docs access groups
This commit is contained in:
parent
3cba235109
commit
0bc67761dc
1 changed files with 5 additions and 5 deletions
|
|
@ -230,11 +230,6 @@ Expected Response
|
|||
|
||||
Set allowed models for a key using the `models` param
|
||||
|
||||
:::info
|
||||
|
||||
This key can only make requests to `models` that are `gpt-3.5-turbo` or `gpt-4`
|
||||
|
||||
:::
|
||||
|
||||
```shell
|
||||
curl 'http://0.0.0.0:4000/key/generate' \
|
||||
|
|
@ -243,6 +238,11 @@ curl 'http://0.0.0.0:4000/key/generate' \
|
|||
--data-raw '{"models": ["gpt-3.5-turbo", "gpt-4"]}'
|
||||
```
|
||||
|
||||
:::info
|
||||
|
||||
This key can only make requests to `models` that are `gpt-3.5-turbo` or `gpt-4`
|
||||
|
||||
:::
|
||||
|
||||
Verify this is set correctly by
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue