Repository navigation
feat(tool): add Keenable as a selectable web_search provider - #507
Merged
Merged
Conversation
Signed-off-by: KGKallasmaa <[email protected]>
KGKallasmaa
requested review from
bbrowning,
franciscojavierarceo,
haoshan98,
jiahuei,
leseb,
maralbahari,
noobHappylife,
qandrew and
tjtanaa
as code owners
November 3, 2026 14:35
Contributor
Author
|
Hi @maralbahari @haoshan98, would you be open to taking a look when you have a moment? Happy to adjust anything. (Disclosure: I work with the Keenable team.) |
franciscojavierarceo
approved these changes
Nov 5, 2026
Contributor
Author
|
@franciscojavierarceo thanks for the approval! CI is green, so this should be ready whenever you or @maralbahari want to merge. |
maralbahari
approved these changes
Nov 10, 2026
Collaborator
|
@KGKallasmaa Thanks for the contribution. will merge once CI passes. |
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
Adds Keenable, an independent web index built for agents, as a selectable
web_searchprovider beside You.com, Brave Search, Tavily, SearXNG and Serply. It follows the shape of the Tavily and Serply providers (#329, #420).WebSearchProviderKind::Keenable(keenable):KEENABLE_API_KEY.https://api.keenable.ai.max_concurrent_gateway_calls.tool/web_search/keenable.rs:POST /v1/search/publicwith anX-Keenable-Title: vLLM Agentic APIheader.AGENTIC_WEB_SEARCH_PROVIDER=keenablealone is a working configuration.KEENABLE_API_KEYit callsPOST /v1/searchwith the key inX-API-Key, andDebugstays redacted through the sharedApiKey.{query, max_results};count(orsearch_context_size) is clamped to 20.DomainFilterapplies them on the response.snippet, falling back todescription(often empty upstream).page_agecomes frompublished_at.nullresultsis treated as empty. Everything lands inweb, sonewsstays empty.KEENABLE_API_KEYwithout echoing anything secret. 429 is surfaced withRetry-Afterand never retried. Other statuses include the upstream body.Test Plan
keenable.rscover:Debugand default/override base URL.published_at, blank URLs andnullresults.config.rskind assertions and the unknown-provider message now includekeenable.web_search_config_selects_keenable_with_or_without_a_key, plus aserply → keenablecase in the provider-switch loop.cargo fmt --all -- --checkpasses.scripts/check_rust_file_sizes.pypasses (341 files): all touched production files stay within their limits, so no exception changes were needed.cargo test/clippyin my sandbox becauseopenssl-syshas no system OpenSSL/pkg-config here. Please let CI run them, and I'll fix anything it flags.max_results, thesnippet/descriptionfields) is the same one I verified live againstapi.keenable.aiin other integrations today.Disclosure: I work with the Keenable team. Happy to adjust scope, naming, or the key-free default, or to drop this if it isn't a direction you want for the project.