Skip to content

Feature request: preserve in-app browser tabs when starting a new chat #46885

Open

Description

@avinashkanaujiya

Problem

In the ChatGPT/Codex desktop app on macOS, the built-in browser tabs remain associated with the current chat/session. Starting New Chat gives a clean conversation, but the existing in-app browser tabs are left behind with the previous session and are not available in the new one.

This makes it difficult to reset conversation context without losing a working browser workspace. Reopening the tabs is especially disruptive when they contain authenticated sessions, multiple pages, or in-progress page state.

Steps to reproduce

  1. Open the ChatGPT/Codex desktop app's built-in browser.
  2. Open several browser tabs and leave them in a useful working state.
  3. In the same desktop app, start New Chat to get a clean conversation.
  4. Observe that the existing built-in browser tabs are not attached to the new chat/session and must be reopened.

Expected behavior

Provide a way to start a new chat with a clean conversation context while preserving the current built-in browser workspace. Possible designs include:

  • New Chat — Keep Browser Tabs;
  • moving or attaching the existing browser workspace to the new chat;
  • making the built-in browser workspace independent of an individual conversation, with an explicit way to attach it to the active chat.

The feature should preserve the existing tab URLs and live page state where possible, without duplicating tabs or closing the original workspace unexpectedly.

Why this matters

The current workaround is to keep using the old chat and ask Codex to ignore the earlier conversation. That does not actually remove the old context. The other workaround is to use an external browser, which loses the integrated in-app browser workflow.

This is a feature request for the macOS ChatGPT/Codex desktop app and its built-in browser.

Related: #35512 (first-class browser workspace), but this request is specifically about preserving browser tabs when starting a fresh chat/context.

Activity

  1. added
    enhancement
    app
    session
    on Sep 20, 2026
  2. falur commented on Sep 27, 2026

    @falur

    +1. My main use case is slightly broader than just preserving browser tabs.

    What I really need is a way to reset the LLM conversation context without resetting the current workspace/session.

    For example, after a long Codex session I may want to start with a completely fresh context, while keeping:

    • the same repo/worktree
    • open terminals and their state
    • browser tabs and current pages
    • the rest of the workspace state

    Right now, starting a new chat gives me the fresh context I want, but effectively forces me to rebuild parts of my working environment.

    Ideally there would be something like “Reset context” / “New conversation in this workspace” that clears the model's conversation history while leaving the workspace untouched.

    In other words, it would be very useful if conversation lifecycle and workspace lifecycle were independent.

  3. xuhandong18 commented on Sep 30, 2026

    @xuhandong18

    强烈支持这个需求,并建议优先增加一个简单、直接的操作:在内置浏览器标签页的右键菜单中加入「在新会话中打开」(Open in New Chat)。

    具体期望的使用流程:

    1. 在 Codex 桌面客户端中,右键一个已经打开的内置浏览器标签页。
    2. 选择「在新会话中打开」。
    3. 自动创建并切换到一个全新的会话,在新会话右侧的内置浏览器中打开该标签页当前的网址。
    4. 保留原会话及其标签页,新会话能够访问和操作自己打开的页面,直接用于调试网站。

    核心诉求是:能够在新会话里继续调试同一个网站,而不用反复留在同一个旧会话中。网站开发和调试经常需要更换思路、处理另一个问题,或者开始一段干净的对话。每次都手动复制网址、创建会话、再重新打开浏览器,会增加不必要的操作。

    最低可用版本只需重新打开同一个完整网址(包括查询参数和锚点)。不要求迁移页面的实时状态、未提交表单或旧会话的聊天记录。对于本地开发网站,应使用当前运行的开发服务,无需为这个动作另行启动一个重复服务。

    这是 Windows 桌面客户端用户的具体需求,建议在支持内置浏览器的桌面平台上提供一致的操作。这个右键菜单入口会显著改善跨会话的网站调试体验,希望团队能优先考虑。

  4. abcjhby2871 commented on Sep 30, 2026

    @abcjhby2871

    A stronger version of the requested UX would be to make Chat/Codex tabs and browser tabs peers in the same desktop workspace.

    Instead of preserving browser tabs inside a new chat, the workspace could support:

    • several Chat/Codex tabs open concurrently;
    • several in-app browser/artifact tabs open concurrently;
    • New Chat creates a new chat tab while the existing browser tabs remain visible and reusable;
    • browser-tab lifetime is independent from conversation lifetime;
    • the active chat can explicitly attach to / control an existing browser tab when needed.

    That removes the current awkward coupling where getting a clean conversation context also strands the useful browser workspace in the old thread.

    This complements #13036 (multiple chats). Together, the desired model is essentially one top-level workspace with multiple peer tabs, rather than each chat being its own container for browser state.

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

    appbrowserenhancementsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions