Skip to content

Comments

sync#31

Merged
Classic298 merged 1 commit intoperplexity-search-compatible-litellmfrom
claude/update-perplexity-search-api-011CV4SYwcbbJpKdKHDT6L3c
Nov 12, 2025
Merged

sync#31
Classic298 merged 1 commit intoperplexity-search-compatible-litellmfrom
claude/update-perplexity-search-api-011CV4SYwcbbJpKdKHDT6L3c

Conversation

@Classic298
Copy link
Owner

No description provided.

…arch

- Add PERPLEXITY_SEARCH_API_URL config variable with default to https://api.perplexity.ai/search
- Allow users to configure custom API endpoint for Perplexity Search API
- Add support for forwarding user info headers (X-OpenWebUI-User-Name, X-OpenWebUI-User-Id, X-OpenWebUI-User-Email, X-OpenWebUI-User-Role)
- Update search_perplexity_search function to accept api_url and user parameters
- Add PERPLEXITY_SEARCH_API_URL field to WebConfig form and frontend UI
- Maintain backward compatibility with existing deployments

Changes:
- backend/open_webui/config.py: Add PERPLEXITY_SEARCH_API_URL persistent config
- backend/open_webui/main.py: Add PERPLEXITY_SEARCH_API_URL to app.state
- backend/open_webui/retrieval/web/perplexity_search.py: Add api_url and user parameters, forward user headers
- backend/open_webui/routers/retrieval.py: Update search_web to pass api_url and user, add to WebConfig form
- src/lib/components/admin/Settings/WebSearch.svelte: Add input field for custom API URL
@Classic298 Classic298 marked this pull request as ready for review November 12, 2025 18:50
@Classic298 Classic298 merged commit 6f676ab into perplexity-search-compatible-litellm Nov 12, 2025
@Classic298 Classic298 deleted the claude/update-perplexity-search-api-011CV4SYwcbbJpKdKHDT6L3c branch November 16, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants