ENABLE_FORWARD_USER_INFO_HEADERS is also for ollama

This commit is contained in:
df-cgdm 2025-02-14 12:05:04 +01:00 committed by GitHub
parent 8b7113589e
commit 68c9117904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -567,7 +567,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`