rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Suzukaa-a/dsh-oh-my-model
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
Independently managed model providers, models, and prompts for DeepSeek Harness.
Definitions live in a separate models.json in the Harness home directory and are edited
in the Oh My Model panel under Settings → Models, in English or Chinese
following your Harness language preference.
models.json.Requires DSH >=0.1.5-rc.3 <0.3.0 and Node.js >=22.13.
Install dsh-oh-my-model@0.1.0-2 from the Plugins page. You can also install from a local directory:
To upgrade a local installation, keep the existing link, update the files in the directory, and restart DSH. (Refreshing the browser alone does not reload host modules.)
models.json only records the reference name.The search box at the top filters providers and models by name or ID; press Escape or
click Clear search to reset. The interface warns before closing or refreshing with unsaved changes,
and confirms before discarding edits or loading external revisions.
A provider card offers Fetch upstream models below the manual model-ID row. The plugin asks the configured endpoint, using the stored API key when there is one, which models it advertises, and the editor lets you select which IDs to add.
models.json by itself.{} model entries in the draft.
Nothing is written until Save, and a fetched entry behaves exactly like one typed
by hand: metadata and pricing still come from models.dev through inherit from.Add a provider, create gpt-6-luna, and select openai/gpt-6-luna in
inherit from. Add gpt-6-luna-fast as an alias of gpt-6-luna, set its
upstream model ID to gpt-6-luna, and add {"service_tier":"priority"} to its
request parameters. Click Save.
The same setup in models.json:
{
"version": 1,
"providers": {
"gateway": {
"displayName": "My gateway",
"api": "openai-responses",
"baseURL": "https://gateway.example/v1",
"apiKeyEnv": "GATEWAY_API_KEY",
"models": {
"gpt-6-luna": {
"inherit": "openai/gpt-6-luna"
},
"gpt-6-luna-fast": {
"aliasOf": "gpt-6-luna",
"upstreamId": "gpt-6-luna",
"name": "GPT-6 Luna · Fast",
"samplingParams": {
"service_tier": "priority"
}
}
}
}
}
}
Replace the example URL with your endpoint, keep apiKeyEnv as
GATEWAY_API_KEY, and type the key in API key so Save stores it. The base
model inherits its limits, input modalities, reasoning options, and pricing from the
catalog. The fast alias shares those defaults and dispatches upstream as
gpt-6-luna with priority service.
Priority service requires endpoint support. Availability, latency, and pricing
follow your provider’s priority tier. Override cost on the fast alias to match
your provider’s rates.
Save is the only save action: it writes any typed API keys to the Harness
credentials store and then saves models.json. There is no separate per-credential
save button.
| Item | API key | Model configuration |
|---|---|---|
| Written to | Harness credentials store | models.json |
| Action | Save | Save |
| Stored in file | Nothing; the file holds only the apiKeyEnv reference |
Provider and model definitions |
| Affected by Discard | Yes: a typed key is discarded | Yes |
models.json, never enters the draft, and never appears
in validation requests or logs.apiKeyEnv still takes effect when the document is saved.inheritCompat to opt out or specify another source.systemPrompt is appended after the session system prompt, matched by the local provider and model ID."" clears it, and ↺ inherited restores it.complete prompt override maintains normal precedence and supersedes appended sections.Configuration defaults to models.json in the Harness home directory; the catalog cache and legacy
ownership records reside alongside it. Paths are configurable, and the file is watched automatically:
valid external edits apply immediately, while broken edits are safely ignored to retain the last known good configuration.
| Document | Contents |
|---|---|
| Configuration | Grammar, fields, inheritance keywords, compaction, plugin config |
| Catalog and capabilities | models.dev cache, live upstream model list, protocol inference, capability inheritance |
| Architecture | Modules, host composition, prompt injection, route service, endpoints |
| Compatibility | Version ranges, tested combinations, updates |
MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、deepseek。