Hmbown/CodeWhale
doctor: show active search provider in codewhale doctor output
Fermée
#2 131 ouverte le 25 mai 2026
autonomous-readybugdocumentationenhancementgood first issue
Métriques du dépôt
- Stars
- (40 465 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Problem
web_search defaults to Bing HTML scraping, which silently returns empty results for technical queries. DuckDuckGo works reliably (see #2130, #964). Users don't discover the [search] config section because:
codewhale doctordoesn't mention the active search provider- The
config.example.tomlsearch section is commented out by default - There's no
/searchslash command to inspect or switch providers
Proposed Fix
Add a search provider line to codewhale doctor output:
Search provider: bing (default; set [search] provider = "duckduckgo" in config.toml to switch)
or when DuckDuckGo is configured:
Search provider: duckduckgo (configured in ~/.deepseek/config.toml)
Acceptance Criteria
-
codewhale doctorshows the active search provider with its source (default vs. config) - Provider line includes a brief hint about switching when on default Bing
-
codewhale doctor --jsonincludessearch_providerfield in output - When
DEEPSEEK_SEARCH_PROVIDERenv var is set, doctor shows "env override" source
Stretch (separate PR)
/searchslash command to inspect and switch providers in-sessioncodewhale doctorwarns when Bing is the active provider ("Bing may return empty results for technical queries")
Related
- #2130 — code-level Bing→DDG fallback
- #964 — original web_search bug report
- #1681 — region-aware search providers