codex - 💡(How to fix) Fix Switching global provider hides previous sessions from the sidebar [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17316Fetched 2026-04-11 06:17:56
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Root Cause

Changing provider is a normal workflow when testing OpenAI, Azure, or local models. It should not hide session history.

RAW_BUFFERClick to expand / collapse

What feature would you like to see?

Switching the global provider should not make previous chat sessions disappear from the Codex app sidebar.

Current behavior

  • I create sessions with one provider.
  • I switch the global provider.
  • Older sessions no longer appear in the sidebar.

Expected behavior

Previous sessions should remain visible and accessible even after changing provider.

If sessions are being filtered by provider, the UI should make that explicit and let me view sessions from other providers.

Why this matters

Changing provider is a normal workflow when testing OpenAI, Azure, or local models. It should not hide session history.

extent analysis

TL;DR

The issue can be addressed by modifying the session filtering logic to include sessions from all providers, not just the currently selected one.

Guidance

  • Review the session filtering logic to determine why sessions from previous providers are being excluded from the sidebar.
  • Consider adding a UI indicator to show which sessions belong to the current provider and which do not, to make the filtering explicit.
  • Investigate the possibility of adding a toggle or setting to allow users to view sessions from all providers, regardless of the current global provider.
  • Verify that the session data is still being stored and retrieved correctly when the global provider is switched, to rule out any data loss or retrieval issues.

Notes

The exact implementation details will depend on the specific architecture and technologies used in the Codex app, which are not specified in the issue.

Recommendation

Apply a workaround by modifying the session filtering logic to include sessions from all providers, as this will provide the expected behavior of retaining visibility of previous sessions after switching providers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Previous sessions should remain visible and accessible even after changing provider.

If sessions are being filtered by provider, the UI should make that explicit and let me view sessions from other providers.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING