The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Docs update on user header mapping (#14527)
Boopesh Shanmugam95da14cb968d
diff --git a/docs/my-website/docs/tutorials/openweb_ui.md b/docs/my-website/docs/tutorials/openweb_ui.mdindex ecf1e289da3..38f1ec38260 100644--- a/docs/my-website/docs/tutorials/openweb_ui.md+++ b/docs/my-website/docs/tutorials/openweb_ui.md@@ -89,16 +89,20 @@ To track spend and usage for each Open WebUI user, configure both Open WebUI and2. **Configure LiteLLM to Parse User Headers**- Add the following to your LiteLLM `config.yaml` to specify a header to use for user tracking:+ Add the following to your LiteLLM `config.yaml` to specify the request header mapping for user tracking:```yamlgeneral_settings:- user_header_name: X-OpenWebUI-User-Id+ user_header_mappings:+ - header_name: X-OpenWebUI-User-Id+ litellm_user_role: internal_user+ - header_name: X-OpenWebUI-User-Email+ litellm_user_role: customer```ⓘ Available tracking options- You can use any of the following headers for `user_header_name`:+ You can use any of the following headers in `header_name` in `user_header_mappings` :- `X-OpenWebUI-User-Id`- `X-OpenWebUI-User-Email`- `X-OpenWebUI-User-Name`@@ -109,6 +113,12 @@ To track spend and usage for each Open WebUI user, configure both Open WebUI and- Users can modify their own usernames- Administrators can modify both usernames and emails of any account+This video walks through on how we can map the openweb ui headers to LiteLLM user roles++<iframe src="https://www.loom.com/embed/a1b6a4635fc0478ba4fd34cae16e2ffd?sid=791c2dcc-7e65-45be-bf7f-27d2601c123e" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen width="840" height="500"></iframe>++<br/>+<br/>## Render `thinking` content on Open WebUI