Repository navigation
Replies: 1 comment
|
Thanks for maintaining DSH. Adding a related scenario that sits one step earlier, in case it is useful. Scope note: this is the official DSH desktop build (DeepSeek Harness desktop app, For users who sign in with an account only and never configure an API key, The cause matches this thread: the search channel resolves Details, the config excerpt from the bundle, the If this overlaps with your thread, I am happy to merge or remove it. Thanks for reading. 感谢维护。这里补充一个更靠前的同类场景,供参考。 环境说明:本条针对官方 DSH 桌面版(DeepSeek Harness 桌面应用,运行时 只用账号登录、未配置任何 API key 的用户,从第一次调用起 原因与本帖一致:搜索通道的凭据引用 已在 #7845 中附上包内配置原文、 如与本帖视角重复,我可以随时合并或删除。感谢阅读。 |
Uh oh!
There was an error while loading. Please reload this page.
Problem
When a user switches their chat model provider (Settings → Models), the
web-search-deepseekplugin does not follow — it keeps using its own endpoint (https://api.deepseek.com/anthropic/v1) and its own credential resolution (DEEPSEEK_API_KEY/ the credentials seam).This causes a confusing 401 error on the first
web_searchcall after switching to a custom provider, with no indication that search config lives in a separate settings page.Suggested improvement
Add a notification or banner in the UI when the model provider changes, telling the user that web search configuration is independent and pointing them to Settings → Plugins → Web search to review the endpoint and API key.
At minimum, the
web_searchtool result could surface a clearer error that names the search endpoint and explicitly explains the separation from chat model config.Relevant source
packages/web/web-search-deepseek/src/index.ts— plugin config, credential resolution (falls back from literalapiKey→ credentials seam → env varDEEPSEEK_API_KEY)packages/web/web-search-deepseek/src/provider.ts— endpoint fallback chain (config.baseURL→DEEPSEEK_SEARCH_BASE_URL→ hardcoded default), and thesearchEndpointError()message that currently fires on failureAll reactions