Skip to content

Add DeepSeek web search provider - #291

Merged
iamwavecut merged 2 commits into
mainfrom
feat/deepseek-search
Nov 7, 2026
Merged

iamwavecut merged 2 commits into
mainfrom
feat/deepseek-search

Conversation

@iamwavecut

Copy link
Copy Markdown
Owner

Web search currently depends on Serper. This adds the DeepSeek Search API as an alternative selected with WEB_SEARCH_PROVIDER=deepseek and DEEPSEEK_API_KEY. Serper remains the default.

The adapter preserves source titles, URLs, snippets, summaries, and search metadata. It validates DeepSeek's 128-character query limit, retries transient failures within one timeout, limits response size, and excludes credentials and response bodies from errors. Direct page fetching remains available without a Serper key when DeepSeek is selected.

Verification on the branch updated from current main:

  • bash tools/rust-fast-gate.sh passed, including formatting, workspace Clippy with all targets/features and warnings denied, and workspace tests.
  • Eight local HTTP tests cover the provider request/response contract, Unicode query limits, empty results, retries, permanent errors, malformed/oversized responses, timeouts, and credential redaction.

Live DeepSeek requests were not exercised. No production configuration or deployment changes.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Messages
📖 Danger checked 6 changed file(s).

Generated by 🚫 dangerJS against c015691

Comment thread crates/openplotva-app/src/serper.rs Resolved
@iamwavecut
iamwavecut merged commit 39ad370 into main Nov 7, 2026
12 checks passed
@iamwavecut
iamwavecut deleted the feat/deepseek-search branch November 7, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant