Skip to content

[macOS] Switching to a command-auth custom provider hides all projects; OpenAI provider restores them #60604

Closed as duplicate

Description

@MarkSong2020

What version of the Codex App are you using (From “About Codex” dialog)?

Unified ChatGPT/Codex desktop app: 26.1103.60933, build 25894. Version/build verified from the installed application's Info.plist.

What subscription do you have?

A ChatGPT account, no paid ChatGPT subscription. I use PixRoute, a custom Responses API provider, for model inference.

What platform is your computer?

macOS 27.2, Apple Silicon.

Darwin 27.2.0 arm64 arm

What issue are you seeing?

Selecting PixRoute makes all my existing projects disappear from the desktop project list, while conversations remain present. Switching back to the built-in OpenAI provider restores the projects.

This is repeatable on my machine:

Selected model provider Project list Existing conversations
Built-in OpenAI, with my existing ChatGPT login Projects visible normally Present
PixRoute, using command-backed provider authentication All existing projects disappear Still present
Switch back to built-in OpenAI Projects visible again Present

This report is about project visibility/state loading, not confirmed deletion of conversations or project records. Conversations remaining visible does not establish that every historical conversation can be resumed under either provider.

Keeping the desktop on the OpenAI provider is not a sufficient workflow workaround for me: I do not have a paid ChatGPT subscription and need to use my custom provider for inference. I am not requesting access to paid OpenAI models or a bypass of account/workspace isolation.

What steps can reproduce the bug?

On the affected installation:

  1. Use the built-in OpenAI provider with the original ChatGPT account signed in and existing local projects visible.
  2. Select the configured PixRoute custom provider globally in ~/.codex/config.toml, without signing out of ChatGPT or changing its stored login.
  3. Fully quit and reopen the desktop app to apply the provider change. The local switching utility performs the provider change and restart; these observations are from that workflow, not a separately tested manual-edit reproduction.
  4. Observe that the existing project list disappears, while conversations remain present.
  5. Switch back to the built-in OpenAI provider and reopen the app.
  6. Observe that the projects return without recreating them.

Sanitized configuration shape (illustrative placeholders, not a runnable endpoint or credential helper):

model_provider = "pixroute"
model = "<provider-supported-model>"

[model_providers.pixroute]
name = "PixRoute"
base_url = "https://example.invalid/v1"
wire_api = "responses"

[model_providers.pixroute.auth]
command = "/path/to/credential-helper"
args = []

The affected configuration uses command-backed authentication, not env_key. It does not set requires_openai_auth = true.

What is the expected behavior?

Selecting a custom inference provider should not silently make existing local project organization inaccessible when the original ChatGPT login remains stored.

Please keep app/account identity and inference-provider authentication appropriately independent, while preserving account/workspace isolation and credential separation. ChatGPT credentials must not be sent to the third-party inference endpoint.

If this combination is intentionally unsupported, please explain the restriction explicitly and provide a supported workflow for custom-provider users to retain stable local projects and conversation associations. Missing project lists should not be the silent failure mode.

Additional information

Prior local diagnostic evidence — distinct from the user-observed reproduction above

A prior local diagnostic session recorded the following on this installation. These are diagnostic observations, not an upstream-confirmed root cause:

  • With PixRoute selected, electron-account-renderer-state-v1.owner was null; the inactive account snapshot still contained 22 projects and 269 thread-project assignments.
  • codex login status still reported Logged in using ChatGPT.
  • An independent app-server comparison using unchanged stored login reported no account/auth method with the custom provider, versus chatgpt with a transient built-in OpenAI provider override. The diagnostic requested no token output and made no model requests.
  • An isolated in-memory reproduction of the installed app's selectRendererOwner method, using synthetic account/project data, cleared the active project list for a null principal and restored the synthetic snapshot for its matching principal. This was not a live desktop recovery test and did not modify the installed app or real project state.

Working hypothesis: the custom provider prevents the app-server from exposing the existing ChatGPT identity to desktop services; the desktop then follows its null-owner project-state path. The provider/account response difference and the state-loading behavior are consistent with the symptom, but the full internal cause still needs maintainer confirmation.

The user has since explicitly confirmed the live control case: switching back to the built-in OpenAI provider restores the projects; switching to PixRoute makes them disappear again.

The local switching utility now blocks the affected desktop switch as a temporary safety measure. That prevents the trigger but does not fix custom-provider usability. I have not established which app version introduced this behavior, so this is not a claim of a proven latest-release regression.

Related reports

Please link/merge this report if these are confirmed to have the same cause. A supported fix or recovery path should preserve projects across restart with the custom provider active, without requiring a paid ChatGPT subscription just to retain local project organization.

Submitted with the affected user's explicit authorization. No credentials, account identifiers, private project names, conversation contents, state files, or raw logs are attached.

Activity

  1. added
    bug
    app
    custom-model
    auth
    app-server
    on Nov 10, 2026
  2. eslamwael74 commented on Nov 10, 2026

    @eslamwael74

    ✅ Working Workaround: #60364 (comment)

  3. etraut-openai commented on Nov 11, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Thanks for checking that switching back to OpenAI restores your projects. In build 25894, the desktop app used the active ChatGPT account to decide which local projects to show. With PixRoute selected, Codex reports no active ChatGPT account even though your login is still saved. That explains why the project list disappeared and returned when you switched back.

    We’ve merged a desktop fix that keeps local projects and their conversation groupings on the device across provider switches. A build containing the fix will automatically recover those entries on startup, including when PixRoute is selected. This preserves the existing access checks for individual conversations and requires no change to your PixRoute credentials.

    I’m closing this as fixed in the desktop code. We verified recovery when upgrading from your app version on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverauthbugcustom-model

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions