← Back to home@sd1g1

dsh-opencode-go-models

补齐 DSH 的 OpenCode Go 模型目录

Stars
0
Language
JavaScript
Created
Aug 21, 2026
Updated
Aug 27, 2026
GitHub repo

Introduction

dsh-opencode-go-models

补齐 DSH 的 OpenCode Go 模型选择目录,不修改 deepseek-harness。扩展保留 llm-pi-ai 的原有路由;缺失模型通过独立的 pi-ai 适配器发送,请求仍使用 opencode-go 作为外部 provider。

安装

npx @deepseek-ai/dsh plugin --profile web add github:sd1g1/dsh-opencode-go-models

配置

扩展默认读取 OPENCODE_API_KEY。可在 cordis.patch.yml 的扩展行修改 apiKeyEnv,或确保该引用由 DSH credentials 服务提供。

扩展按 OpenCode Go 官方文档 的当前模型列表补充 DSH 未收录的模型:

模型API
deepseek-v4-flash-vision-expopenai-completions
qwen3.8-maxanthropic-messages
glm-5.3openai-completions
gpt-5.6-lunaopenai-responses
muse-spark-1.2-contributoropenai-responses
longcat-2.0openai-completions
ox-alpha-freeopenai-completions

验证

npx @deepseek-ai/dsh plugin --profile web ls | grep opencode-go-models

插件挂载后,模型选择器中会出现上述补充模型。

卸载

npx @deepseek-ai/dsh plugin --profile web remove @local/dsh-opencode-go-models