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

Abierto
#8,561 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@ShivamJuyal24 ya está trabajando en esto.

Desde el 11/11/2026.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
16.9k
Forks
1.3k
Merge medio
1 d 4 h
PR fusionados (30 d)
814

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lidge-jun/opencodex

Todos los issues de lidge-jun/opencodex

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.