Skip to content

Android Remote saves phone-started threads under openai, then hides them when the host's default provider is custom #53848

Open

Description

@nostitos

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

Codex Desktop 26.1007.30912 (build 20156), bundled app-server 0.162.0-alpha.17.2. Phone: ChatGPT for Android, current release on 2026-10-13. The host logs the phone as client_name="codex_chatgpt_android_remote", client_version="dev".

What subscription do you have?

ChatGPT (planType: prolite)

What platform is your computer?

Darwin 27.0.0 arm64 arm

What issue are you seeing?

On a host whose default provider is custom, every thread I start from ChatGPT Android Remote is saved under openai, but the phone's thread list only shows threads saved under the host's default provider. A thread started on the phone is visible while it runs, then drops out of the phone's list once it goes idle. Codex Desktop still lists it.

Host config, abbreviated:

model_provider = "custom"
openai_base_url = "<redacted>"   # the built-in openai provider is also routed, so both providers run turns normally

[model_providers.custom]
name = "Custom proxy"
base_url = "<redacted>"
wire_api = "responses"
requires_openai_auth = true

Start and list disagree on the provider. I matched every thread/start in the host log (~/.codex/logs_2.sqlite) on 2026-10-13 to the row it created in ~/.codex/state_5.sqlite:

Client that sent thread/start Saved threads Saved model_provider
codex_chatgpt_android_remote 3 openai (3 of 3)
Codex Desktop (user threads, automations, agent-created threads) 9 custom (9 of 9)

The phone's list matches thread/list with modelProviders omitted, which the app-server resolves to the host default (#48358, #24648). Calling thread/list on the host with a cwd filter for one project:

modelProviders Threads returned
omitted 2, both custom, the same 2 the phone shows
[] 46
["openai"] 43

What this looks like on the phone. The newest thread in a project is often the missing one, because recent work started from the phone is saved under openai. Three projects on the same host:

  • Project A shows its 2 custom threads. The other 44 are hidden, including one active the same evening as the visible ones.
  • Project B hides its newest thread, which was started from the phone that afternoon, and shows 4 older custom threads.
  • Project C shows the running thread plus 4 older custom threads, and hides two openai threads that were active earlier the same day. One of the two was started from the phone.

What steps can reproduce the bug?

  1. On a macOS host, set model_provider to a custom Responses provider (as above), stay signed in with ChatGPT, and enable Remote Control.
  2. From ChatGPT for Android, open the host, start a new thread in any project, and let the turn finish.
  3. On the host, check the saved provider: sqlite3 ~/.codex/state_5.sqlite "select model_provider from threads order by created_at desc limit 1" returns openai.
  4. Close and reopen the thread list on the phone. The new thread is gone. Codex Desktop still shows it.
  5. Optional: on the host, call thread/list with a cwd filter, once with modelProviders omitted and once with modelProviders: []. Only the second includes the phone-started thread.

What is the expected behavior?

A thread started from the phone stays in the phone's list. Either change would do that:

The first also brings back Desktop threads that were saved under a non-default provider.

Additional information

Activity

  1. added
    bug
    app
    app-server
    custom-model
    on Oct 14, 2026
  2. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. izexi commented on Oct 23, 2026

    @izexi

    Additional reproduction on Windows, observed on 23 October 2026.

    • ChatGPT for Android: 1.2026.286
    • Windows desktop app: 26.1016.62342, build 21477, production channel. The built-in updater reported up_to_date.
    • Submitted feedback ID: 01a168c4-5192-7850-84b8-c9aa87aa2aed

    Observed behaviour

    1. Create a new Codex chat from Android on the connected Windows host and send messages.
    2. The chat appears on desktop as New chat.
    3. Close and reopen the Android app: the chat disappears from the mobile sidebar.
    4. Open the same chat on desktop: the messages remain readable, but its displayed title becomes an absolute working-directory path.

    This is loss of discoverability, not observed loss of the conversation contents.

    Read-only checks

    The host configuration has model_provider = "codex-lb" (a custom provider). The inspected affected chats are stored with model_provider = "openai". A control chat that appears in the desktop task list is stored with model_provider = "codex-lb".

    The current troubleshooting chat was unarchived, had a populated initial title and first message, and had no saved display name. Setting an explicit display name through the supported app rename action succeeded, but a subsequent bounded 30-item desktop task-list query still omitted that chat and reported no unavailable hosts. This is not an exhaustive inventory check.

    These observations are consistent with the provider mismatch described here. We have not independently compared raw thread/list requests with omitted versus empty modelProviders, so the filtering cause is not confirmed for this installation. Whether the absolute-path title has the same cause is also unconfirmed.

    Please use the feedback ID above to correlate diagnostics. A supported fix should restore visibility while preserving existing chat history and provider routing.

  4. TrojanFighter commented on Nov 15, 2026

    @TrojanFighter

    Reproduced on Windows 11 with ChatGPT for Android connected to the Windows host. The affected thread records bundled Codex 0.169.0-alpha.11.1. The host default provider ID is custom.

    One thread reported as created on Android disappeared after refresh. Its session_meta.model_provider was custom, and the first thread_settings_applied.thread_settings.model_provider_id was openai about three seconds later. The current thread index also says openai. A later control confirmed by the host logs as Android-created kept custom in both records and stayed visible after refresh. The original request payload is unavailable, so the first-turn provider selection is still unexplained.

    I ran thread/list on the same host with the same account and exact cwd filter. Both queries returned a single page.

    modelProviders Affected openai thread Android control (custom)
    Omitted Missing Present
    [] Present Present

    Replaying the affected first-turn records in an isolated profile reproduced the omission. Changing only the provider in the copied thread_settings_applied event to custom made the rebuilt index store custom and the default query return the thread.

    Please have Android Remote send modelProviders: [] on history refresh so eligible threads remain visible across providers. A regression test should cover a Windows host with both custom and openai threads, including one started on Android and refreshed after its first turn completes.

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-serverbugcustom-modelremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions