homily707/dsh-session-header ↗★ 0
dsh-session-header
在每个 DeepSeek Harness LLM 提供商请求中注入 x-session-id HTTP 请求头,携带当前调用的会话 ID。
AI 分析
核心用途是在向大模型 API 发送请求时附带 DSH 会话标识。适合需要配合后端网关进行会话级审计、日志追踪或流量计费的团队与开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:homily707/dsh-session-header說明文件
閱讀完整 README ↗Configuration
| field | type | default | meaning |
|---|---|---|---|
header | string | x-session-id | header name to inject; case-insensitive on the wire |
value | string | — | fixed value; unset = the harness session id of the call in flight |