xiaohj233/dsh-compat-shims--packages-pi-ai-compat0

dsh-pi-ai-compat

版本受控的 DSH rc.6 兼容性控制插件,用于 pi-ai 推理默认值、消息角色和推理内容重放。

AI 分析

核心用途是解决 DSH rc.6 版本与 pi-ai 接口在推理字段、系统角色上的兼容问题。适合使用特定 pi-ai 兼容网关且遇到接口报错的用户。

套件
dsh-pi-ai-compat
版本
0.2.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaohj233/dsh-compat-shims#09af87746999677406b0a3946b91e94af27c48a5&path:packages/pi-ai-compat

Configuration

Use Models settings to declare the supported effort names and their provider wire spellings, then choose a default. Compatibility flags remain model/profile data and should be enabled only when the target gateway requires them.

supportsDeveloperRole: false selects the SDK's system fallback. requiresReasoningContentOnAssistantMessages: true preserves/replays compatible reasoning content; do not enable it for gateways that reject that field.