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 peer 범위
^0.1.5-rc.1
Cordis peer 범위
^4.0.2
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 9. 15.

설치

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

配置

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


## 使用

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

```yaml