File size: 514 Bytes
674d56a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """Perplexity web search + snippets plugin — bundled, auto-loaded.
Backed by the Perplexity Search API over httpx. Both search and extract are
sync; the dispatcher in :mod:`tools.web_tools` handles the wrap when the
caller is async.
"""
from __future__ import annotations
from plugins.web.perplexity.provider import PerplexityWebSearchProvider
def register(ctx) -> None:
"""Register the Perplexity provider with the plugin context."""
ctx.register_web_search_provider(PerplexityWebSearchProvider())
|