[Bug] ChatGPT Work (local) model picker does not list OpenCodex catalog models

Open
#8,561 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ShivamJuyal24 is already working on this.

Since Nov 11, 2026.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by checking the ChatGPT/Work model-list and request paths described in the issue, then compare them with OpenCodex's existing model_catalog_json integration for the Codex app-server. Determine whether local Work chats can use those models and what routing and compatibility changes would be required; the issue offers documentation as an alternative if Work is out of scope. Done means Work models are supported and routed correctly, or the support matrix clearly documents the limitation.

Written by the indexing model from the issue text.

Description

bug catalog needs-info
Client or integration

Codex App / ChatGPT desktop (Windows)

Area

Catalog / models

Summary

Models injected through OpenCodex's model_catalog_json appear in the Codex model picker, but are absent from the ChatGPT → Work picker when starting a local work chat. I expected both surfaces to expose the same routed models, or at least for Work to read the local catalog.

The Codex entry itself works correctly; this report is only about the ChatGPT/Work surface.

Reproduction
  1. On Windows, configure OpenCodex with model_catalog_json in ~/.codex/config.toml, including provider models such as Aliyun/deepseek-v4.1-flash-1017 and google-antigravity/gemini-3.8-flash (both visibility: "list").
  2. Open the ChatGPT desktop app and choose Codex → new chat. Both models appear in the picker and can be selected.
  3. Switch to ChatGPT, enable Work, and start a new local work chat.
  4. Open the model picker: only built-in models are listed. The two OpenCodex models are missing, with no error shown.
Version

@bitkyc08/opencodex 2.99.0 (npm global install). Desktop client: OpenAI Codex app 26.1106.6628.0. I have not retested on 2.100.2.

Operating system

Windows 11 26H2 (10.0.26300)

Provider and model

Aliyun/deepseek-v4.1-flash-1017, google-antigravity/gemini-3.8-flash

Logs or error output

No error is surfaced; the models are silently omitted from the picker.

Redacted configuration
# ~/.codex/config.toml (excerpt)
model_catalog_json = "C:\\Users\\<user>\\.codex\\opencodex-catalog.json"
openai_base_url = "http://127.0.0.1:10100/v1"

Catalog entries (excerpt):

{ "slug": "Aliyun/deepseek-v4.1-flash-1017", "visibility": "list" },
{ "slug": "google-antigravity/gemini-3.8-flash", "visibility": "list" }
Additional evidence from the installed desktop bundle

I unpacked app.asar from 26.1106.6628.0 and traced where each picker gets its data:

  • Codex picker uses the app-server model/list request, with model_catalog_json as part of the query key (webview/assets/async/201528.9e0864d060.js, module j44z).
  • ChatGPT picker uses GET /models?merged=true, and Work uses GET /tpp/models/ (webview/assets/async/739301.37a39f26d6.js, modules lTvi and sMGP).
  • The Work path parses is_work_mode_model into isWorkModeModel (webview/assets/async/514766.2d2f1ddc86.js), and the combined picker filters out isWorkModeModel entries for chat selections.

On the OpenCodex side, a code search of dev for tpp/models, is_work_mode_model, and chatgpt-work-models returns no matches, and the installed src/chatgpt/* contains no adapter for these paths. That suggests the local catalog injection currently covers the Codex app-server path only.

What I would like

Either:

  • merge locally configured catalog models into the Work model list and route their requests through OpenCodex, with the same auth/fallback behavior as Codex, or
  • if Work is intentionally out of scope, document that in the ChatGPT/desktop support matrix so the missing models are expected.

A note on whether model selection is honored for local Work chats in this client would also help.

Checks
  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.
Dominant language
TypeScript
Stars
16.9k
Forks
1.3k
Avg merge
1d 4h
Merged PRs (30d)
814

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lidge-jun/opencodex

All issues in lidge-jun/opencodex

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.