dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
English | 简体中文
DSH Custom Provider Enhancer is an out-of-the-box DeepSeek Harness (DSH) / Cordis plugin designed for Custom Model Providers (e.g. OneAPI, NewAPI, OpenRouter, vLLM, Ollama, and OpenAI-compatible API gateways).
When discovering or saving models in the Web GUI, it automatically queries a 3000+ model database to populate Context Window (contextWindow), Max Output Tokens (maxTokens), Multimodal Vision (input: [text, image]), and Deep Thinking / Reasoning (reasoningEfforts).
When users connect custom third-party gateways (e.g. OneAPI, NewAPI, vLLM, Ollama) to DeepSeek Harness, the standard GET /models discovery endpoint only returns raw model IDs (such as gemini-3.7-flash, deepseek-v4-pro, or mimo-v2.5). It omits critical runtime parameters:
input: ['text', 'image']) disables image uploads in the conversation interface.reasoningEfforts) hides the thinking intensity slider in chat.llm.discoverModels and automatically fills correct context size and max output tokens.llm.resolveModelInfo and settings.mutate to automatically attach vision input and thinking levels both in runtime and in settings.yaml (~/.dsh/settings.yaml).| Environment | Supported Versions | Status |
|---|---|---|
| DeepSeek Harness (DSH) | 0.1.0-rc.1 ~ mainline |
✅ Verified (Runtime Compatible) |
| Cordis Framework | ^3.0.0 |
✅ Verified |
| Node.js | ^20.0.0 || ^22.0.0 || >=24.0.0 |
✅ Verified |
| OS | Linux, macOS, Windows | ✅ Cross-Platform |
off, low, medium, high, max) for reasoning models.settings.yaml on save, and patches legacy placeholder models in memory.-20241120).As a standard DSH Profile Bundle, installation is one simple command:
dsh plugin --profile web add github:cinob/dsh-plugin-custom-provider-enhancer
Note: As a Profile Bundle, the plugin automatically mounts and activates. There is no need to manually insert
custom-provider-enhancerinprofiles/web/cordis.patch.yml.
dsh plugin --profile web remove dsh-plugin-custom-provider-enhancer
Optional configuration in $DSH_HOME/profiles/web/cordis.patch.yml:
- id: custom-provider-enhancer
config:
# Remote metadata catalog URL
metadataUrl: https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json
# Request timeout in milliseconds (default: 5000ms)
timeoutMs: 5000
# In-memory cache TTL in milliseconds (default: 1 hour)
cacheTtlMs: 3600000
# Fallback context window when model is unknown (default: 128000)
defaultContextWindow: 128000
# Fallback max output tokens (default: 4096)
defaultMaxTokens: 4096
dsh web).contextWindow, maxTokens, input, reasoningEfforts) are automatically configured and saved!GET /models and public model specification database (github.com/BerriAI/litellm).ctx.llm, ctx.settings); creates no subprocesses or arbitrary file modifications.dsh plugin --profile web remove dsh-plugin-custom-provider-enhancer.# Clone repository
git clone https://github.com/cinob/dsh-plugin-custom-provider-enhancer.git
cd dsh-plugin-custom-provider-enhancer
# Install dependencies
pnpm install
# Run automated tests
pnpm test
# Build distribution bundle
pnpm build
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。