mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Documentation Code Example corrections (#16502)
* Update quick_start.md changed -D to -d * Update users.md Changed in a number of locations: "budget_duration": 10s, to "budget_duration": "10s", * Update users.md Changed all 10s to 30s to keep in line with the example
This commit is contained in:
parent
6931d3013a
commit
a1748ad550
2 changed files with 7 additions and 7 deletions
|
|
@ -541,7 +541,7 @@ guardrails:
|
|||
curl -X POST 'http://0.0.0.0:4000/team/update' \
|
||||
-H 'Authorization: Bearer sk-1234' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-D '{
|
||||
-d '{
|
||||
"team_id": "4198d93c-d375-4c83-8d5a-71e7c5473e50",
|
||||
"metadata": {"guardrails": {"modify_guardrails": false}}
|
||||
}'
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ curl 'http://0.0.0.0:4000/team/new' \
|
|||
--data-raw '{
|
||||
"team_alias": "my-new-team_4",
|
||||
"members_with_roles": [{"role": "admin", "user_id": "5c4a0aa3-a1e1-43dc-bd87-3c2da8382a3a"}],
|
||||
"budget_duration": 10s,
|
||||
"budget_duration": "30s",
|
||||
}'
|
||||
```
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ curl 'http://0.0.0.0:4000/user/new' \
|
|||
--data-raw '{
|
||||
"team_id": "core-infra", # [OPTIONAL]
|
||||
"max_budget": 10,
|
||||
"budget_duration": 10s,
|
||||
"budget_duration": "30s",
|
||||
}'
|
||||
```
|
||||
|
||||
|
|
@ -334,7 +334,7 @@ curl 'http://0.0.0.0:4000/key/generate' \
|
|||
--data-raw '{
|
||||
"team_id": "core-infra", # [OPTIONAL]
|
||||
"max_budget": 10,
|
||||
"budget_duration": 10s,
|
||||
"budget_duration": "30s",
|
||||
}'
|
||||
```
|
||||
|
||||
|
|
@ -495,7 +495,7 @@ curl 'http://0.0.0.0:4000/user/new' \
|
|||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"max_budget": 10,
|
||||
"budget_duration": 10s, # 👈 KEY CHANGE
|
||||
"budget_duration": "30s", # 👈 KEY CHANGE
|
||||
}'
|
||||
```
|
||||
</TabItem>
|
||||
|
|
@ -507,7 +507,7 @@ curl 'http://0.0.0.0:4000/key/generate' \
|
|||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"max_budget": 10,
|
||||
"budget_duration": 10s, # 👈 KEY CHANGE
|
||||
"budget_duration": "30s", # 👈 KEY CHANGE
|
||||
}'
|
||||
```
|
||||
|
||||
|
|
@ -520,7 +520,7 @@ curl 'http://0.0.0.0:4000/team/new' \
|
|||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"max_budget": 10,
|
||||
"budget_duration": 10s, # 👈 KEY CHANGE
|
||||
"budget_duration": "30s", # 👈 KEY CHANGE
|
||||
}'
|
||||
```
|
||||
</TabItem>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue