mirror of
https://github.com/open-webui/docs
synced 2025-06-12 01:21:23 +00:00
Merge pull request #401 from df-cgdm/main
feat: ENABLE_FORWARD_USER_INFO_HEADERS is also for ollama
This commit is contained in:
commit
ff78031084
@ -580,7 +580,7 @@ The value of `API_KEY_ALLOWED_ENDPOINTS` should be a comma-separated list of end
|
|||||||
|
|
||||||
- type: `bool`
|
- type: `bool`
|
||||||
- Default: `False`
|
- Default: `False`
|
||||||
- Description: Forwards user information (name, id, email, and role) as X-headers to OpenAI API.
|
- Description: Forwards user information (name, id, email, and role) as X-headers to OpenAI API and Ollama API.
|
||||||
If enabled, the following headers are forwarded:
|
If enabled, the following headers are forwarded:
|
||||||
- `X-OpenWebUI-User-Name`
|
- `X-OpenWebUI-User-Name`
|
||||||
- `X-OpenWebUI-User-Id`
|
- `X-OpenWebUI-User-Id`
|
||||||
|
Loading…
Reference in New Issue
Block a user