HaydenSmith1121/dsh-codex-provider ↗★ 0

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 适合需要将 Codex 账号下的 ChatGPT 模型引入 DSH 的用户。

Package
dsh-codex-provider
Compatibility
Unverified
Harness peer range
0.1.6-alpha.1
Cordis peer range
4.0.2
Version
0.1.0
License
MIT
Last updated
Sep 18, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HaydenSmith1121/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: []                   # 额外补充的模型条目

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