26.616 new desktop home view breaks session history display with custom model_provider (LiteLLM)

Open 💬 3 comments Opened Jun 18, 2026 by sl1nux
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

App Version: 26.616.30709
Previous working version: 26.609.30741
Platform: macOS (Apple Silicon)
Subscription: ChatGPT Enterprise

What happened

After auto-updating from 26.609 to 26.616, the session sidebar is completely empty.
All 71 sessions are intact on disk but not displayed in the UI.

What I expected

Session history visible in sidebar as before the update.

Steps to reproduce

  1. Use a custom model_provider = "litellm" in ~/.codex/config.toml
  2. Auto-update from 26.609 → 26.616
  3. Relaunch Codex — sidebar is empty

Confirmed data is intact

cat ~/.codex/session_index.jsonl | wc -l
# returns: 71

ls ~/.codex/sessions/2026/06/
# returns: 02 03 04 09 10 11 12 13 14 15 16 17 18

Config (relevant parts)

model          = "litellm-gpt-5.5"
model_provider = "litellm"
sandbox_mode   = "workspace-write"

Attempted fixes (none resolved)

  • rm -rf ~/Library/Application\ Support/Codex
  • rm -rf ~/Library/Caches/com.openai.codex
  • rm -rf ~/Library/Preferences/com.openai.codex.plist
  • rm -rf ~/Library/Saved\ Application\ State/com.openai.codex.savedState
  • Deleted state_5.sqlite files
  • Downgrade not possible — 26.609 not available for download

Suspected cause

The new desktop home view and session entry flow introduced in 26.616
appears to fail silently when model_provider is set to a non-OpenAI
provider, preventing session history from rendering.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 2 months ago

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

  • #28549

Powered by Codex Action

Necmttn · 2 months ago

Provider should be a filter dimension, not the only ownership bucket for session visibility.

A sidebar row can carry session id, model_provider, auth/provider root, project key, and source transcript path. If the active provider differs, keep the row visible with a provider badge or compatibility warning instead of hiding history that is still present on disk.

---

_Generated with ax._

willdave865 · 23 days ago

App Version: Version 26.727.51351
Platform Windows 10 Pro
Subscription GPT Plus

What happened

After using Codex Desktop in conjuction with LiteLLM for for the purposes of models costings (LiteLLM [v1.86.2] where ~/.codex/config.toml line 2 "model_provider = "litellm-costings"" the Codex Desktop session sidebar began to show less chat sessions than are available at ~\.codex\sessions\2026\08 Returning line 2 of the config to 'model_provider = "openai"' corrected this.

What I would expect

  1. Desktop history calls should request all providers
  2. The sidebar should offer an explicit provider filter
  3. Resuming a thread should use its persisted provider identity, or show a clear “provider unavailable” message. It should never silently hide the thread.
  4. Desktop should provide a safe “Refresh local history” operation that:

-rescans rollout JSONL files;
-validates/rebuilds index entries;
-reconciles SQLite paths;
-does not alter thread contents or provider metadata;
-refreshes the UI using an all-provider listing.

Other associated issues

Logging out of Codex Desktop silently failed. There was no viable way to log out with line 2 "model_provider = "litellm-costings". This should not happen. At the very least there should be an error message.