mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-20 06:23:46 +00:00
docs: doc cleanup
This commit is contained in:
@@ -38,8 +38,8 @@ response = client.chat.completions.create(
|
||||
"content": "this is a test request, write a short poem"
|
||||
}
|
||||
],
|
||||
extra_body={
|
||||
"metadata": {
|
||||
extra_body={ # pass in any provider-specific param, if not supported by openai, https://docs.litellm.ai/docs/completion/input#provider-specific-params
|
||||
"metadata": { # 👈 use for logging additional params (e.g. to langfuse)
|
||||
"generation_name": "ishaan-generation-openai-client",
|
||||
"generation_id": "openai-client-gen-id22",
|
||||
"trace_id": "openai-client-trace-id22",
|
||||
@@ -363,7 +363,9 @@ curl --location 'http://0.0.0.0:4000/moderations' \
|
||||
## Advanced
|
||||
|
||||
### Pass User LLM API Keys, Fallbacks
|
||||
Allows users to pass their model list, api base, OpenAI API key (any LiteLLM supported provider) to make requests
|
||||
Allow your end-users to pass their model list, api base, OpenAI API key (any LiteLLM supported provider) to make requests
|
||||
|
||||
**Note** This is not related to [virtual keys](./virtual_keys.md). This is for when you want to pass in your users actual LLM API keys.
|
||||
|
||||
:::info
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ const sidebars = {
|
||||
},
|
||||
items: [
|
||||
"proxy/quick_start",
|
||||
"proxy/deploy",
|
||||
"proxy/configs",
|
||||
{
|
||||
type: 'link',
|
||||
@@ -67,7 +68,6 @@ const sidebars = {
|
||||
},
|
||||
"proxy/call_hooks",
|
||||
"proxy/rules",
|
||||
"proxy/deploy",
|
||||
"proxy/cli",
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user