qjf44/dsh-plugin-thinking-api

qjf44★ 0JavaScript最后同步: 2026-08-18

在 GitHub 打开

README 摘要

dsh-plugin-thinking-api 简体中文 · English DeepSeek Harness plugin: configure any OpenAI-compatible API in one block and get thinking mode for free — while dodging the developer -role rejection that breaks such APIs. What it solves Three problems in one plugin: 1. Configure any OpenAI-compatible API in one block — Tencent CodeBuddy, self-hosted vLLM, or any relay — no hand-writing reasoningEfforts , thinkingFormat , or pi-ai provider internals. 2. Thinking mode out of the box — set thinking: true on a model and it gains reasoning levels automatically. 3. Fixes the content filter / developer -role bug — this is the subtle one. The bug this fixes When a model declares reasoning, pi-ai rewrites the system prompt into the OpenAI developer role unless it recognizes the endpoint as a non-standard vendor. Third-party APIs that are not on pi-ai's built-in allowlist (Tencent CodeBuddy is a prime example) therefore receive a developer message, which many endpoints hard-reject with content filter — while the exact same request using system succeeds. The official dsh-llm-pi-ai adapter drops the compat.supportsDeveloperRole field when it builds models, so you cannot fix this from settings.yaml alon…

在 GitHub 查看完整 README →
工具/开发dshdsh-plugin

分类