Repository navigation
feat(providers): add Perplexity integration attribution header - #15573
Merged
diegosouzapw merged 2 commits intoOct 6, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
X-Pplx-Integration: omnirouteto theperplexity(Sonar chat completions) andperplexity-agent(Responses) registry entries via the existingheadersfield, and to the Perplexity Search request builder inopen-sse/handlers/search/perplexitySearch.ts.perplexity-websession provider is not touched.Related Issues
Validation
node --import tsx/esm --test tests/unit/perplexity-agent-provider.test.ts tests/unit/search-handler-perplexity-options.test.ts tests/unit/provider-translate-path-golden.test.tsnpm run lint(eslint on the touched files) andprettier --checkrelease/v3.8.52)Tests Added Or Updated
tests/unit/perplexity-agent-provider.test.ts: assertsDefaultExecutorheaders forperplexityandperplexity-agentincludeX-Pplx-Integration: omniroute.tests/unit/search-handler-perplexity-options.test.ts: asserts the Perplexity Search request carries the header.tests/snapshots/provider/translate-path.json: regenerated withUPDATE_GOLDEN=1; only theperplexityandperplexity-agententries change.Coverage Notes
headerschange is covered by the executor header test and the translate-path golden snapshot; the search change is covered by the search handler test.Reviewer Notes