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 的用户。

パッケージ
dsh-codex-provider
互換性
未検証
Harness ピア範囲
0.1.6-alpha.1
Cordis ピア範囲
4.0.2
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/18

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

配置

在 设置 → 模型 → 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: []                   # 额外补充的模型条目

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