dshbase

插件目录 / Developer / dsh-plugin-lmstudio

dsh-plugin-lmstudio

已验证 · 实测可装 starlightzfy

✓ 持续维护 2 位贡献者

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-16最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

✅
我们的评价
可用 — 实测通过,早期项目

Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-plugin-lmstudio

Use a model served by LM Studio as a chat model inside the
DeepSeek Harness (DSH) web GUI.

LM Studio exposes an OpenAI-compatible endpoint (http://127.0.0.1:1234/v1 by
default). This plugin seeds DSH's built-in llm-pi-ai adapter with that route,
so the model picker shows your local model — no cloud API quota consumed.

中文说明 · MIT

Requirements

  • DSH CLI + pnpm (see the DSH docs)
  • LM Studio with Developer → Start Server running (default port 1234)
  • At least one model loaded in LM Studio

Install

dsh plugin --profile web add dsh-plugin-lmstudio

The package declares dsh.bundle, so dsh plugin automatically adds it to the
profile's bundle layers. Then restart the web app (dsh web) and refresh
http://127.0.0.1:3080.

Configuration

The plugin ships a default provider route under the lm-studio provider key:

Field Default Meaning
baseURL http://127.0.0.1:1234/v1 LM Studio OpenAI-compatible endpoint
api openai-completions Wire protocol
models one example model Replace with what you actually load

The bundled route is a base layer: anything you write under the
llm-pi-ai: section of $DSH_HOME/settings.yaml merges over it per provider,
so your own models and endpoints win. No API key is required for a local LM
Studio server; if you enable key auth in LM Studio, add apiKeyEnv or an
Authorization header in your settings layer.

Point it at your actual model

  1. In LM Studio, load the model you want.
  2. Find the exact model id: curl http://127.0.0.1:1234/v1/models and read the
    id field (usually owner/name, e.g. qwen/qwen3.5-9b).
  3. Either edit the route in Settings → Models (the "ask the endpoint"
    button discovers models for you), or override it in $DSH_HOME/settings.yaml:
llm-pi-ai:
  providers:
    lm-studio:
      models:
        - id: qwen/qwen3.5-9b
          name: Qwen3.5 9B (LM Studio)
          contextWindow: 8192
          maxTokens: 4096

settings.yaml hot-reloads — no dsh web restart needed.

Usage

Refresh the page, open the model picker above the composer, and choose your
LM Studio model (it appears under "LM Studio (本地)"). Traffic goes to
127.0.0.1:1234 only; your DeepSeek API balance is untouched.

Tip: for plain conversation without any agent tools, create a "chat" agent
preset (an empty agent.cordis.yml) and pick it on the new-session screen —
that applies to every model, local or cloud.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-lmstudio」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:starlightzfy/dsh-plugin-lmstudio

Headless(CLI)profile:

dsh plugin --profile headless add github:starlightzfy/dsh-plugin-lmstudio

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →