Merge pull request #401 from df-cgdm/main

feat: ENABLE_FORWARD_USER_INFO_HEADERS is also for ollama
This commit is contained in:
Timothy Jaeryang Baek 2025-03-05 13:56:31 -08:00 committed by GitHub
commit ff78031084
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -580,7 +580,7 @@ The value of `API_KEY_ALLOWED_ENDPOINTS` should be a comma-separated list of end
- type: `bool`
- 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:
- `X-OpenWebUI-User-Name`
- `X-OpenWebUI-User-Id`