openworker
openworker copied to clipboard
Add Serply as a web search provider
Add Serply as a keyed web_search provider alongside serper and brave.
Same shape as the existing keyed providers: a SerplyProvider class and one _PROVIDERS entry. It calls Serply's Google web search endpoint and maps results[].title/link/description into SearchResult. duckduckgo stays the default, so nothing changes for anyone who does not pick it.
Config
web_search_provider = "serply"
Key via SERPLY_API_KEY or the existing SecretStore web_search:default profile. Settings already lists provider_names(), so it shows up there without extra wiring.
Scope
coworker/web/providers.py: provider and registry entryapi.serply.ioinPROVIDER_HOSTSand the sandbox'sSEARCH_APIS, so the allowed-sites wall knows it- exports and the two config comments
- unit test for the request shape and result parsing (mocked HTTP)
I have this ready and will open the PR linked to this issue. Disclosure: I work with Serply. API docs: https://serply.io/docs
PR: #801