BanboLee/banbo-dsh--plugins-dsh-llm-pi-ai-with-session ↗★ 0

@banbolee/dsh-llm-pi-ai-with-session

LLM session-id header injection for DeepSeek Harness: registers a provider route whose requests carry the live session id in a configurable HTTP header, reusing the pi-ai openai-completions wire implementation so a gateway can correlate every request with its dsh session. 适合跨服务追踪归属场景;需先配置源 provider,再将默认提供方指向会话路由。

パッケージ
@banbolee/dsh-llm-pi-ai-with-session
互換性
未検証
Harness ピア範囲
^0.1.5-rc.1
Cordis ピア範囲
^4.0.2
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/09/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BanboLee/banbo-dsh#a785b690cd3a271225efba76ae2079e8fbf2df51&path:plugins/dsh-llm-pi-ai-with-session

ドキュメント

README 全文を読む ↗

配置

通用配置(网关、凭据、模型、推理档位)只写一份——就在 llm-pi-ai 的 providers 里。插件自身只声明需要生成哪些 session 路由,以及会话 header 名;其余一切(baseURL、apiKeyEnv、headers、models、reasoning、reasoningEfforts)都从 source provider 继承:


## 使用

装好后,把 dsh-tui / agent 的默认 provider 指向某条会话路由即可:

```yaml