Repository navigation
Description
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 = trueStart 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
customthreads. 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
customthreads. - Project C shows the running thread plus 4 older
customthreads, and hides twoopenaithreads that were active earlier the same day. One of the two was started from the phone.
What steps can reproduce the bug?
- On a macOS host, set
model_providerto a custom Responses provider (as above), stay signed in with ChatGPT, and enable Remote Control. - From ChatGPT for Android, open the host, start a new thread in any project, and let the turn finish.
- On the host, check the saved provider:
sqlite3 ~/.codex/state_5.sqlite "select model_provider from threads order by created_at desc limit 1"returnsopenai. - Close and reopen the thread list on the phone. The new thread is gone. Codex Desktop still shows it.
- Optional: on the host, call
thread/listwith acwdfilter, once withmodelProvidersomitted and once withmodelProviders: []. 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 Android Remote client sends
modelProviders: []onthread/list, the spelling recommended in thread/list: omitted modelProviders filters to the server default provider, hiding other threads #48358, so the phone sees the same threads as Desktop. - Remote
thread/startsaves the host's configuredmodel_provider, so start and list agree.
The first also brings back Desktop threads that were saved under a non-default provider.
Additional information
- Thread cap and order within a project. After the provider filter, the phone showed at most 4 idle threads per project, ordered by
updated_at(last rollout write) instead ofrecency_at(last activity), which is how Desktop orders them. In two projects the phone's order matchedupdated_atdescending exactly and the 5th thread was dropped. In one of them a thread sat at the top because its rollout file was written hours after its last turn, and in the other two threads appeared in the opposite order from their last activity. This pushes the most recently active thread out of view even among threads that pass the filter. - Related: Codex Mobile remote-control tasks with custom provider disappear from thread list after refresh #24780 reports remote tasks disappearing on a custom-provider host where the phone-started task ran under the custom provider. Here the phone-started task is saved under
openai, so the start/list mismatch hides it from the other direction. thread/list: omitted modelProviders filters to the server default provider, hiding other threads #48358 and (app-server and Desktop) thread/list treats omitted modelProviders as current-provider filter instead of all providers #24648 cover the omitted-modelProvidersdefault. Switching model_provider hides existing local sessions from resume/fork/history #15494 covers provider switching hiding history. Codex iOS remote sidebar does not sync Desktop project order or pinned chats #22806 and iOS Remote Project List is not synchronized with Codex Desktop (Projects are not using Desktop as the source of truth) #36454 cover project order on the phone. - Workarounds tried: Switching the host default to
openaionly swaps which threads disappear. Rewriting the saved provider on existing threads would make the list complete but changes the provider used on resume, which feat: annotate conversations with model_provider for filtering #5658 was written to avoid.
Activity
github-actions commentedon Oct 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
izexi commentedon Oct 23, 2026
Additional reproduction on Windows, observed on 23 October 2026.
up_to_date.Observed behaviour
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 withmodel_provider = "openai". A control chat that appears in the desktop task list is stored withmodel_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/listrequests with omitted versus emptymodelProviders, 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.
TrojanFighter commentedon Nov 15, 2026
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 iscustom.One thread reported as created on Android disappeared after refresh. Its
session_meta.model_providerwascustom, and the firstthread_settings_applied.thread_settings.model_provider_idwasopenaiabout three seconds later. The current thread index also saysopenai. A later control confirmed by the host logs as Android-created keptcustomin 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/liston the same host with the same account and exactcwdfilter. Both queries returned a single page.modelProvidersopenaithreadcustom)[]Replaying the affected first-turn records in an isolated profile reproduced the omission. Changing only the provider in the copied
thread_settings_appliedevent tocustommade the rebuilt index storecustomand 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 bothcustomandopenaithreads, including one started on Android and refreshed after its first turn completes.