概览
dsh-llm-openai-completions
OpenAI-completions-compatible adapter for custom gateways (vLLM / LM Studio / self-hosted proxies): always role:"system", enable_thinking / chat_template_kwargs / reasoning_effort driven by the llm-pi-ai model config, and a split on the receive side — no pi-ai behavior guessing.
README / ZH
插件文档
目录摘要
OpenAI-completions-compatible adapter for custom gateways (vLLM / LM Studio / self-hosted proxies): always role:"system", enable_thinking / chat_template_kwargs / reasoning_effort driven by the llm-pi-ai model config, and a split on the receive side — no pi-ai behavior guessing.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- **非视觉模型不支持图片**:未在配置声明视觉能力(`input` 含 `image`)的模型收到图片会返回 `UNSUPPORTED_CONTENT`(图片字节存在于附件服务中,仅在视觉模型路径解析)。 - **无 `thinking_budget`**(有意为之:避免截断意外)。 - thinking 级别的**选择器**仍然来自模型的推理元数据(llm-pi-ai + dsh-thinking-levels 的 Off/On 切换);本插件控制 wire 行为。 - 安装后重启 `dsh web`;wrap 在 `llm/adapters-updated` 时重新应用。
