dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:k12u/dsh-web-search-xai
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
xAI-backed WebSearchProvider for the DeepSeek Harness web seam (ctx.web).
It does not register a model-facing tool. The conversation model keeps calling dsh-tool-web's web_search. This package only supplies the backend: an auxiliary xAI Responses request with the native server-side web_search tool, then maps citations into the seam's WebSearchResult.
This is the same shape as @deepseek-ai/dsh-web-search-deepseek, not “put xAI web_search on the conversation turn”.
dsh plugin --profile web add /absolute/path/to/dsh-web-search-xai
Then insert the plugin and select it in the profile cordis.patch.yml:
- id: web
config:
searchProvider: xai
- insert:
- id: web-search-xai
name: dsh-web-search-xai
config:
apiKeyEnv: XAI_CUSTOM_API_KEY
model: grok-4.6
Restart the existing DSH process. A second server does not update the current GUI.
| Key | Default | Meaning |
|---|---|---|
apiKey |
omitted | Literal key. Prefer apiKeyEnv. |
apiKeyEnv |
XAI_API_KEY |
Credential reference resolved per search through ctx.credentials, else the launch environment. |
baseURL |
https://api.x.ai/v1 |
Responses API base; /responses is appended. $XAI_SEARCH_BASE_URL is the env fallback. |
model |
grok-4.6 |
Auxiliary search model. |
maxOutputTokens |
2048 |
max_output_tokens for the auxiliary request. |
allowedDomains |
unset | At most 5 domains. Cannot be combined with excludedDomains. |
excludedDomains |
unset | At most 5 domains. |
enableImageUnderstanding |
false |
Forwards enable_image_understanding to xAI. |
This out-of-tree plugin keeps zero @deepseek-ai/* imports so a link: install can load from the workspace. Change model or key via the profile cordis.patch.yml and restart.
content ← Responses output_text / message textsources[] ← top-level citations, url_citation annotations, and any structured sources/results on web-search output itemscitations, a web_search* output item, or server_side_tool_usage) is WEB_PROVIDER_ERROROne search costs a full xAI model turn.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。