ylxmf2005/dsh-openai-server-compaction ↗★ 0
dsh-openai-server-compaction
OpenAI Responses adapter and durable server-side compaction bundle for DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ylxmf2005/dsh-openai-server-compaction说明文档
阅读完整 README ↗Configuration
The bundle patch accepts the normal compaction-basic fields plus:
| Field | Default | Purpose |
|---|---|---|
provider | openai-responses | DSH provider route owned by the adapter |
apiKeyEnv | OPENAI_API_KEY | DSH credential reference / environment variable |
baseURL | https://api.openai.com/v1 | Direct Responses API base URL |
stateFile | under $DSH_HOME | Durable opaque-state document |
models | gpt-5.6 (1050000 context) | Optional model picker metadata |
defaultContextWindow | 1050000 | Pressure threshold capacity for uncatalogued models |
defaultMaxTokens | 32768 | Output cap for uncatalogued models |
The equivalent settings document section is:
llm-openai-server-compaction:
baseURL: https://api.openai.com/v1
apiKeyEnv: OPENAI_API_KEY
auto: true
thresholdRatio: 0.8
models:
- id: gpt-5.6
name: GPT-5.6
contextWindow: 1050000
maxTokens: 128000
Model catalog entries are advisory. The adapter accepts unlisted model IDs.