dsh-llm-third-party-native:用 DeepSeek 原生适配器接第三方 Messages 端点

dsh-llm-third-party-native 在 DSH 中注册独立 Provider,与 deepseek-official 并行,经 DeepSeekAdapter 调用 OpenRouter、LiteLLM 等 Anthropic 兼容 Messages 端点。插件在 prepareExtensions 中补齐 thinking.budget_tokens、清理未签名 thinking 重放并附加 session_id,改善第三方网关兼容与会话亲和。Settings 可配 Base URL、凭据与模型列表,并支持 DEPLOYMENT_PERSONA_SUFFIX。附带本地 SearXNG 驱动的 ctx.web 搜索。需 DSH >=0.2.2-rc.3、Node >=20,搜索功能需 Docker;通过 dsh plugin add 本地目录安装。

阅读全文