File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -423,16 +423,17 @@ model_list:
423
423
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
424
424
-H 'Content-Type : application/json' \
425
425
-H 'Authorization : Bearer sk-1234' \
426
- -D '{
426
+ -d '{
427
427
" model " : " llama-3-8b-instruct" ,
428
428
" messages " : [
429
429
{
430
430
" role " : " user" ,
431
431
" content " : " What'\' 's the weather like in Boston today?"
432
432
}
433
433
],
434
- " adapater_id " : " my-special-adapter-id" # 👈 PROVIDER-SPECIFIC PARAM
435
- }'
434
+ " adapater_id " : " my-special-adapter-id"
435
+ }'
436
+ ```
436
437
437
438
## Provider-Specific Metadata Parameters
438
439
@@ -482,5 +483,4 @@ response = litellm.completion(
482
483
```
483
484
484
485
</TabItem >
485
- </Tabs>
486
- ```
486
+ </Tabs >
Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ const sidebars = {
546
546
items : [
547
547
"set_keys" ,
548
548
"completion/token_usage" ,
549
+ "sdk/headers" ,
549
550
"sdk_custom_pricing" ,
550
551
"embedding/async_embedding" ,
551
552
"embedding/moderation" ,
You can’t perform that action at this time.
0 commit comments