
Axiaohungry/dsh-llm-codebuddy
80Last commit Aug 14, 2026
dsh-llm-codebuddy DSH plugin
This plugin integrates the CodeBuddy China region LLM service into DSH. Users can add a provider in DSH WebUI, input a WorkBuddy API Key, fetch available models, and configure parameters such as model ID, name, context window, and max output tokens. It supports model directory management, thinking levels, and fallback to a built-in model list when the online catalog is unavailable.
How to install the dsh-llm-codebuddy DSH plugin
dsh plugin --profile web add dsh-llm-codebuddy@latestCopying does not run this command. Review the repository and version before installing the dsh-llm-codebuddy DSH plugin.
dsh-llm-codebuddy DSH plugin data source
dsh-llm-codebuddy DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-llm-codebuddy DSH plugin can do
- Adds CodeBuddy China region provider in DSH WebUI without modifying global DSH installation.
- Automatically fetches available models from CodeBuddy API and allows editing model ID, name, context window, and max output tokens.
- Supports adding, deleting, and re-syncing model directories, with per-model thinking level declarations and default levels.
- Provides a fallback built-in model list when the online catalog is temporarily unavailable.
- Allows API Key replacement or preservation (leave empty to keep existing key).
Where the dsh-llm-codebuddy DSH plugin fits
- Developers who want to use CodeBuddy China region models via DSH for coding assistance.
- Teams that have WorkBuddy API Keys and need to manage multiple models with different parameters.
- Users who need to configure thinking levels (off, minimal, low, medium, high, xhigh, max) per model.
- Replacing or updating API Keys without losing existing model configurations.
Who the dsh-llm-codebuddy DSH plugin is for
- DSH users who need access to CodeBuddy China region LLM models.
- Developers using WorkBuddy API Keys to integrate CodeBuddy into their DSH workflow.
dsh-llm-codebuddy DSH plugin limitations
- Requires a valid WorkBuddy API Key to function; the plugin is a third-party adapter, not official.
- DSH is still in pre-release (verified on 0.1.0-rc.6); future DSH interface changes may require plugin updates.
- Model configuration values exceeding service-side limits may still be rejected by CodeBuddy.
- Only supports CodeBuddy China region; other regions are not available.
dsh-llm-codebuddy DSH plugin: from the repository README
Quoted from the Axiaohungry/dsh-llm-codebuddy README, the upstream source of the dsh-llm-codebuddy DSH plugin. Copyright remains with the original authors.
为 DeepSeek Harness(DSH)增加 `CodeBuddy 中国区` Provider。安装后可直接在 DSH WebUI 中填写 API Key、获取模型、调整模型参数并使用 CodeBuddy 模型。 > [!IMPORTANT] > API Key 由 **WorkBuddy** 提供,本插件使用该 Key 调用供 CodeBuddy 使用的模型服务。 > DSH 中的 Provider 名称仍为 `CodeBuddy 中国区`。本项目是第三方适配器,并非 > WorkBuddy、CodeBuddy 或 DSH 官方插件。 ## 功能 - WebUI 中直接添加 `CodeBuddy 中国区`; - 只需填写从 WorkBuddy 获取的 API Key; - 自动获取 CodeBuddy 当前可用模型; - 支持编辑模型 ID、名称、上下文窗口和最大输出 Token; - 支持添加、删除模型以及重新同步模型目录; - 按模型目录声明各模型自己的思考能力、可选档位和默认档位; - 输入新 API Key 可替换旧值,留空保存则保留原值; - 模型接口暂时不可用时使用内置目录兜底; - 独立安装,不修改 DSH 全局安装目录。 ## 环境要求 - Windows、Linux 或 macOS; - Node.js `>= 22.19.0`; - 已安装 DSH; - 已验证 DSH `0.1.0-rc.6`。 安装器已自带 DSH 所需的 `pnpm`,无需全局安装。 > DSH 仍处于预发布阶段。未来版本如果调整插件接口,本插件可能需要同步升级; > DSH 普通更新不会覆盖本插件。 ## 安装 推荐使用一键安装命令: ```powershell npx --yes dsh-llm-codebuddy@latest install ``` 该命令会为 DSH 的 `web` 和 `headless` Profile 安装插件。完成后重启 DSH。 也可以分别安装: ```powershell dsh plugin --profile web add dsh-llm-codebuddy@latest dsh plugin --profile headless add dsh-llm-codebuddy@latest ``` 只使用 WebUI 时,仅执行第一条即可。 ## WebUI 配置 1. 打开“设置 → 模型”。 2. 点击“添加提供方”。 3. 选择 `CodeBuddy 中国区`。 4. 输入从 WorkBuddy 获取的 API Key 并保存。 5. 点击该 Provider 的“编辑”,展开“自定义设置”。 6. 点击“获取可用模型”,选择需要的模型并导入。 7. 按需修改模型参数,然后保存。
Read the full READMERepository license: MIT
dsh-llm-codebuddy DSH plugin questions
I installed the plugin but can't see CodeBuddy in DSH WebUI. What should I do?
First, make sure you restarted DSH after installation. Then check that the plugin is installed for the web profile by running 'dsh plugin --profile web list --depth 0'. If it's missing, reinstall the plugin.
Why can't I fetch models in the provider configuration?
Confirm that your API Key from WorkBuddy is valid and hasn't expired. Re-enter the key in the provider settings and click 'Get Available Models'. If the online API is temporarily down, the plugin will fall back to the built-in model list.
Some models are visible to others but not to me. How come?
Model permissions are tied to your API Key. The plugin only imports models listed in the '/v3/config' endpoint for your key. If you changed your key, re-fetch models. The plugin does not show models that your key is not authorized for.
How do I update the plugin to the latest version?
Re-run the install command: 'npx --yes dsh-llm-codebuddy@latest install'. After updating, restart DSH. Your model configurations and API Key will not be overwritten.
How do I uninstall the plugin completely?
Run 'npx --yes dsh-llm-codebuddy@latest uninstall'. It will backup your settings, remove the CodeBuddy provider configuration, and remove the plugin from web and headless profiles. Your API Key credential is kept for future reinstallation. Restart DSH after uninstall.