DPH-1121/dsh-codex-provider ↗★ 1

dsh-codex-provider

Codex (ChatGPT) model provider for DeepSeek Harness — serves the ChatGPT subscription models the Codex CLI uses, over OAuth session credentials instead of an API key 适合需要免API Key、直接使用ChatGPT订阅模型进行对话的用户。

Package
dsh-codex-provider
Compatibility
Unverified
Harness peer range
>=0.1.6-alpha.1 <0.3.0-0
Cordis peer range
>=4.0.2 <5.0.0
Version
0.1.1
License
MIT
Last updated
Oct 19, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DPH-1121/dsh-codex-provider

配置

在 设置 → 模型 → Codex (ChatGPT) 中编辑,或直接改 settings.yaml 的 llm-codex 段:

llm-codex:
  enabled: true                          # false 撤回路由,插件仍挂载
  baseURL: https://chatgpt.com/backend-api/codex
  refreshMinutes: 5                      # 目录刷新间隔
  streamIdleTimeoutMs: 120000            # 单次流的空闲超时
  maxRequestImageBytes: 4194304          # 单张图片编码后上限
  clientVersion: ''                      # 空 = 从本机 Codex 安装自动探测
  catalogAdditions: []                   # 额外补充的模型条目

改动立即生效,无需重启。