rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:deepinfra/dsh-provider-deepinfra
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Use DeepInfra models from DeepSeek Harness (dsh).
The plugin registers a deepinfra provider route and streams over DeepInfra's OpenAI-compatible chat-completions API.
GET https://api.deepinfra.com/v1/openai/models, so new DeepInfra models appear without a plugin update. Only chat models are listed.vision), and reasoning-effort levels. Compaction timing and the model picker use these values, so nothing has to be typed into settings.reasoning_content (also sent back on later turns so thinking models can continue a tool loop), and image input on vision models.prompt_cache_key, so repeated turns reuse their cached prefix.llm-pi-ai and does not modify it.Needs Node ≥ 22.15 and a DeepInfra API token (https://deepinfra.com/dash/api_keys).
dsh plugin --profile web add github:deepinfra/dsh-provider-deepinfra
export DEEPINFRA_API_KEY=... # or store it from the web Models page
dsh web
Pick a DeepInfra model in the model picker, or make one the default:
# $DSH_HOME/profiles/<profile>/cordis.patch.yml
- id: agent-default-model
config:
provider: deepinfra
model: deepseek-ai/DeepSeek-V4-Flash
| Field | Default | Meaning |
|---|---|---|
baseURL |
https://api.deepinfra.com/v1/openai |
OpenAI-compatible API root |
apiKeyEnv |
DEEPINFRA_API_KEY |
Credential reference resolved for each request through the DSH credential service, or from the environment when the composition has none |
- id: provider-deepinfra
config:
apiKeyEnv: MY_DEEPINFRA_TOKEN
reasoning_effort offer Off, Low, Medium, High; models tagged only reasoning offer Off/On (none/high on the wire). The choice goes out as reasoning_effort, and leaving it unset keeps the model's own default. Some models, such as DeepSeek-V4.1-Flash, do not think unless you turn it on.401 → INVALID_CREDENTIAL, 402 or quota text → QUOTA, 429 → RATE_LIMIT (with Retry-After), context-overflow 400 → CONTEXT_WINDOW_EXCEEDED, 5xx → SERVER. dsh-llm-retry retries the transient ones.npm install
npm test
The tests include a contract check: every GenerateOptions field declared by the installed @deepseek-ai/dsh-llm must have an entry in REQUEST_FIELD_DISPOSITION (lib/request.js). When DSH adds a request field, the test fails until the field is handled or deliberately ignored.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。