[GH-ISSUE #8615] Add x-openwebui-user-name Header to Model Requests #53862

Closed
opened 2026-05-05 15:27:41 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @alonahmias on GitHub (Jan 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8615

Add x-openwebui-user-name Header to Model Requests

Is your feature request related to a problem? Please describe.
llm api currently do not have a way to filter models they can access based on their identity.

Describe the solution you'd like
Add the x-openwebui-user-name header to all requests sent to the LLM API. This header should include the user's name or identifier. This will enable APIs that support user-based filtering to show or restrict access to specific models for each user. this will be enable with the existing ENABLE_FORWARD_USER_INFO_HEADERS envrionment variable

Additional context
This feature could be particularly useful for environments with multiple users who need to see or manage only their specific models. It would rely on the LLM API supporting this functionality.

Originally created by @alonahmias on GitHub (Jan 16, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8615 ## Add `x-openwebui-user-name` Header to Model Requests **Is your feature request related to a problem? Please describe.** llm api currently do not have a way to filter models they can access based on their identity. **Describe the solution you'd like** Add the `x-openwebui-user-name` header to all requests sent to the LLM API. This header should include the user's name or identifier. This will enable APIs that support user-based filtering to show or restrict access to specific models for each user. this will be enable with the existing `ENABLE_FORWARD_USER_INFO_HEADERS `envrionment variable **Additional context** This feature could be particularly useful for environments with multiple users who need to see or manage only their specific models. It would rely on the LLM API supporting this functionality.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#53862