← Back to list

dsh-custom-headers

DeepSeek Harness Tools & Capabilities Low risk

Adds configurable HTTP header profiles that can be selected per model.

添加可配置的 HTTP 请求头配置档,并支持按模型选择。

How to install

DeepSeek Harness dsh plugin add dsh-custom-headers

About

DSH Custom Headers 中文 | English 适用于 DeepSeek Harness(DSH)的插件:为每个模型单独附加自定义 HTTP 请求头。 实际部署中,模型请求往往不直达提供方,而是经过企业网关、自研代理或 OpenAI 兼容端点——这些中间层常要求额外的请求头(租户标识、计费标签、自定义鉴权拼写等),且不同模型的要求可能不同。本插件把这件事做成一个**按模型、可随时修改的设置项**: 1. 在「设置 → 插件 → 插件配置」中定义任意多个命名的**请求头配置**(header profile),每个配置是一组 名称 / 值 键值对; 2. 在「设置 → 模型」的模型目录中,为某个模型从下拉框里选择一个配置; 3. 此后每次调用该模型,插件都会在 pi-ai 适配器派发前把所选配置解析成请求头并附加到请求上——读取的是实时设置,改配置或换选择,下一次请求即生效,无需重启。 插件由两半组成:host 半端负责 custom-headers 设置命名空间(写入校验、持久化)和 LLM 派发注入;Web 客户端半端提供插件配置卡片和模型行下拉框。全部数据都保存在 DSH 的用户设置文档中,不引入任何外部存储;取消选择或删除配置后,下一次调用即恢复原状,不留痕迹。 为什么需要 DSH 的提供方资料(provider profile)本身支持 headers,但它…

Recommendation signals

49 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
49 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
0
mo. downloads
Last push
2026-09-15
Created
2026-09-15

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh-plugin, http-headers, request-headers

Related plugins

MCP Server
Score100

playwright-mcp

microsoft/playwright-mcp

Playwright MCP server

☆ 37.4K ↓ 22.6M Tools & Capabilities
MCP Server
Score100

openclaw

openclaw/openclaw

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

☆ 390.2K ↓ 13.6M Tools & Capabilities
MCP Server
Score93

fastmcp

punkpeye/fastmcp

A TypeScript framework for building MCP servers.

☆ 3.3K ↓ 1.9M Tools & Capabilities
MCP Server
Score91

mobile-mcp

mobile-next/mobile-mcp

Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

☆ 6.8K ↓ 97.1K Tools & Capabilities