mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[PR #24832] [CLOSED] feat(retrieval): add X-Pplx-Integration attribution header to Perplexity search modules #115189
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24832
Author: @jliounis
Created: 5/17/2026
Status: ❌ Closed
Base:
dev← Head:feat/perplexity-attribution-header📝 Commits (1)
aef5947feat(retrieval): add Perplexity attribution header📊 Changes
2 files changed (+4 additions, -0 deletions)
View changed files
📝
backend/open_webui/retrieval/web/perplexity.py(+2 -0)📝
backend/open_webui/retrieval/web/perplexity_search.py(+2 -0)📄 Description
Pull Request Checklist
devbase branch.devbranch.dev.featprefix.Changelog Entry
Description
devbase branch.Added
X-Pplx-Integration: open-webui/<VERSION>to outgoing Perplexity requests frombackend/open_webui/retrieval/web/perplexity.py.X-Pplx-Integration: open-webui/<VERSION>to outgoing Perplexity Search API requests frombackend/open_webui/retrieval/web/perplexity_search.py.Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
The header is set before optional user-info header merging in the Search API path so downstream header handling preserves it. This is a no-behavior-change attribution header only; request payloads, endpoints, and response handling are unchanged.
Verification run:
python -c "import ast; paths=['backend/open_webui/retrieval/web/perplexity.py','backend/open_webui/retrieval/web/perplexity_search.py']; [ast.parse(open(path, encoding='utf-8').read()) for path in paths]; print('ast parse ok')"PYTHONPATH=backend /tmp/openwebui-venv/bin/python -c "from open_webui.env import VERSION; print(f'VERSION={VERSION}')"DCO signoff:
Signed-off-by: James Liounis james.liounis@perplexity.ai
The CLA was already signed for the original submission.
Screenshots or Videos
Contributor License Agreement
🤖 Generated by PSI
🧠 Agent used:
codex🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.