Text Models / DeepSeek Harness

DeepSeek Harness Setup

  • endpoint:https://mm-internal-cn.leonecloud.com
  • API Key:in create,「Model」Capabilityand.
  • Model ID, and output:「Modellocalized example text」as.

in the<API_KEY> as LeoneCloud API Key.with when and field,.

DeepSeek Harness and use profile file; use when,.

localized example text```bash npm install -g @deepseek-ai/dsh


## Modeluse file:| localized example text| file|
| ---- | ---- |
| localized example text| `~/.dsh/profiles/web/cordis.patch.yml` |
| localized example text| `~/.dsh/profiles/desktop/cordis.patch.yml` |

and; if with`id`,,.use OpenAI Chat Completions, defaultModel as`deepseek-v4.1-flash`.

```yaml
  • id: llm-pi-ai
  • name: "@deepseek-ai/dsh-llm-pi-ai"
  • config:
  • providers:
  • leonecloud:
  • apiKeyEnv: LEONECLOUD_API_KEY
  • api: openai-completions
  • baseURL: https://mm-internal-cn.leonecloud.com/v1
  • models:
  • id: deepseek-v4.1-flash
  • name: DeepSeek V4.1 Flash
  • reasoningEfforts:
  • "off": null
  • high: high
  • displayName: LeoneCloud · OpenAI
  • id: agent-default-model
  • name: "@deepseek-ai/dsh-agent-default-model"
  • config:
  • provider: leonecloud
  • model: deepseek-v4.1-flash

when, in default`config` in`reasoningEffort: high`.Model.

## file`~/.dsh/.credentials.yaml`,:```yaml
version: 1
refs:
 LEONECLOUD_API_KEY: "<API_KEY>"

file with, orrefs.LEONECLOUD_API_KEY, field.must and providerapiKeyEnv exactly identical.

macOS / Linux file:```bash
chmod 600 ~/.dsh/.credentials.yaml


## execute:```bash
dsh web

after.Model and, return.

Updated 2026-11-05