All plugins

DSH / BUNDLE / CLIENT-UI

dsh-provider-headers

v0.1.2duanyunlun / dsh-provider-headers03b770e1e2

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-provider-headers

Per-provider request headers in the DeepSeek Harness Models settings page, with per-conversation ${sessionId} expansion.

README / EN

Package documentation

Registry summary

Per-provider request headers in the DeepSeek Harness Models settings page, with per-conversation ${sessionId} expansion.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **只覆盖 pi-ai 路由。** `llm-deepseek` 的 `Config` 里根本没有 `headers` 字段(请求头是硬编码的),所以 DeepSeek 官方路由的卡片不会出现这个编辑器,需要先改 Harness 本体。 - **`user-agent` 不能覆盖。** 它是 Harness 的归属标识,原生路径与插件路径都会跳过它。 - **`${sessionId}` 只覆盖流式模型请求。** 「获取可用模型」是一次由 UI 触发的一次性请求,不经过 `llm/stream`,因此那里仍然发送字面量。固定值不受影响。 - **编辑器渲染在卡片里、「编辑」表单之外**,因为模型设置页只开放了这一个槽位。 - 请求头的值以普通文本存在 `settings.yaml`,**不会被脱敏**。不要把密钥写进请求头,用 Harness 的凭据字段(`apiKeyEnv`)。