ChrisDeadman/dsh-web-search-brave

ChrisDeadman★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

Brave Search API-backed web search provider for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`)

README 摘要

@deads-inc/dsh-web-search-brave Brave Search API-backed web search provider for DeepSeek Harness ( dsh ). It registers a WebSearchProvider into the ctx.web seam, so the built-in web search tool works out of the box when you have a Brave Search API key. - MIT license, 270 lines of code, zero runtime dependencies - Concurrency-safe rate limiting (1500ms gap between requests) - Exponential backoff with jitter on 429s - Configurable via DSH Settings or env vars Install Requires BRAVE API KEY from brave.com/search/api. From npm (recommended): From this repo: Restart dsh web . Verify the provider is active: How it works - Registers the brave-search provider on the ctx.web seam. - Resolves the API key in this order: 1. Literal apiKey in the config (not recommended). 2. The BRAVE API KEY credential stored in the DSH credentials service. 3. The BRAVE API KEY env var at launch time. - Serializes concurrent calls through an in-process rate limiter (1500ms gap, configurable). - On 429/403, honors Retry-After , backs off with exponential + jittered backoff (capped at 30s), up to 3 attempts. Configuration All options are optional; sensible defaults are used. Option Env / Config Key Default Notes…

在 GitHub 查看完整 README →
工具/开发dsh-pluginsearch

分类