Replies: 2 comments 1 reply
|
For per-user usage tracking, the first setting to try is In the current Onyx implementation, this setting adds a For a self-hosted deployment:
There is a compatibility caveat: #10461 reports If you specifically need headers, Onyx additionally has LITELLM_PASS_THROUGH_HEADERS=["x-litellm-end-user-id"]This forwards a header already present on the incoming chat request; it does not derive an identity from Onyx's login session or rename headers. The chat endpoint extracts the configured headers, and LiteLLM recognizes For your stated goal, I would start with the metadata setting and the two-account check. This enables attribution; it does not turn the shared proxy API key into per-user JWT authentication. |
|
Thank you for your feedback, @crosscore. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
LiteLLM is my setup acting as a proxy between the AI client and models router.
I want to do tracking per user usage in LiteLLM.
LiteLLM supports of User Info Header from Open WebUI and thus user's query can be correctly mapped and tracked.
Does Onyx provide something similar?
All reactions