Repository navigation
feat(search): add Keenable as a /v1/search provider - #49671
Open
KGKallasmaa wants to merge 1 commit into
Open
KGKallasmaa wants to merge 1 commit into
KGKallasmaa wants to merge 1 commit into
Conversation
Wire search_provider=keenable to Keenable search API (keyed or public), with pricing, UI logo, MCP registry entry, and unit coverage.
KGKallasmaa
requested review from
joshua-berri,
kerry-berri,
mateo-berri and
ryan-crabbe-berri
as code owners
November 2, 2026 15:00
This branch has not been deployed
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.
Handwritten 1-3 sentence description
Adds Keenable web search as a LiteLLM search provider so apps can call
search_provider="keenable"the same way they call Exa or Tavily. Works with a Keenable API key or, without one, Keenable's public search tier. Pricing, Admin UI logo, and MCP registry entry are included so the provider shows up everywhere the other search tools doDetails
TLDR
Problem this solves:
How it solves it:
search_provider="keenable"against Keenable/v1/searchX-API-Key, keyless use/v1/search/publicIntentional product change: Keenable appears in the search-tool provider list and MCP catalog alongside Exa and Tavily
User Flow
Before: a developer cannot route search through Keenable on the gateway
litellm.search(..., search_provider="keenable")or configure a search tool with that providerhttps://api.keenable.ai/v1/searchoutside LiteLLMAfter: the same call goes through LiteLLM to Keenable and returns ranked results
litellm.search(query="typescript best practices", search_provider="keenable", max_results=2)with no key, or withKEENABLE_API_KEYobject: "search"with result titles, URLs, and snippetsPre-Submission checklist
uv run pytest tests/unit/llms/keenable/search/test_transformation.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or moreScreenshots / Proof of Fix
Before (1046716)
main,SearchProvidershas noKEENABLEmember (git show main:litellm/types/utils.pyhasEXA_AIonly in that block)litellm.search(..., search_provider="keenable")is not a valid provider on that tipAfter (d953cb3)
uv run pytest tests/unit/llms/keenable/search/test_transformation.py -q→ 11 passedlitellm.search(query="typescript best practices", search_provider="keenable", max_results=2)→object: search, 2 results, first title/URL from Keenable's public indexhttps://api.keenable.ai/v1/searchwithX-API-KeyType
🆕 New Feature
✅ Test
Caveats
Low
search_domain_filterkeeps only the first domain as Keenablesitemax_tokens_per_pageis ignored (Keenable'ssnippet_max_lengthis characters 180–10000, not tokens)