Skip to content

[Windows App] Quick Chat → Add to Codex loses assistant body and passes only chatgpt-content-reference #52559

Closed as duplicate

Description

@bzyy2wgoodluck

Summary

Using the official Quick Chat → Add to Codex workflow passes a ChatGPT conversation reference, but the assistant's readable answer is replaced with a bare ::chatgpt-content-reference{...} directive. Codex cannot summarize the referenced answer, even though the Quick Chat UI displays the prose, images, and table normally.

Related / possible duplicate: #50329. This report adds the explicit Add to Codex reproduction and a read-only investigation of the installed client's conversion/serialization path.

Environment

  • Windows, x64 desktop application.
  • Observed October 9, 2026
  • The application resource inspected was inside package OpenAI.Codex_26.1002.6548.0_x64__2p2nqsd0c76g0.
  • This package identity comes from the installed resource path and desktop logs, not an About-dialog screenshot. An exact current UI-reported version and subscription tier were not independently verified.

Steps to reproduce

  1. Open Quick Chat in the official desktop app.
  2. Ask for movie recommendations and wait for the assistant's completed reply.
  3. Confirm that Quick Chat displays an answer containing prose, movie images, and a recommendation table.
  4. Use the Quick Chat menu's Add to Codex action.
  5. In Codex, ask to summarize the referenced conversation.
  6. Inspect the supplied priorConversation preview, then call the official mcp__codex_app__read_thread tool for that conversation:
{
  "threadId": "<authorized ChatGPT conversation ID>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}

Actual behavior

Both the supplied preview and a repeated valid native read contain the user question, but the assistant answer is only:

::chatgpt-content-reference{index="0" source_message_id="<assistant message ID>"}

The native read returns kind: "chatgpt", an idle thread, a completed turn, hasMore: false, and nextCursor: null. The valid read succeeds rather than returning an access or network error. Increasing the per-message limit to the supported 20,000 characters does not restore the body.

The UI-visible answer and the model-readable representation therefore disagree. This was reproduced on the existing affected conversation; a fresh synthetic end-to-end UI reproduction has not been performed.

Expected behavior

Adding an authorized ChatGPT conversation to Codex should provide usable assistant text, or a supported resolver for its structured content. The reader should explicitly report unresolved content rather than treating a bare UI-rendering directive as a complete answer.

Read-only client investigation

The inspected ASAR contains:

  • webview/assets/app-initial-9e8a998be170.js
  • webview/assets/execution-caf2b7ccff21.js

The following minified function names apply only to this inspected bundle:

  1. W8t recognizes whole-message structured content in metadata.model_dil_v2 (and has a legacy DIL branch), retaining the content in a reference object.
  2. U8t returns that reference through contentReferences, but sets markdown to JXt(referenceIndex, message.id) for a whole-message reference. This produces the same directive shape as the observed failure.
  3. y7i converts the assistant result to { role: r.role, text: r.markdown }, omitting contentReferences.
  4. S7i / C7i serialize that text as agentMessage.text.
  5. The native ChatGPT read path in the inspected bundle reaches these converters through jf → Cf → N7i → S7i.

Isolated validation and limits

Codex extracted the actual installed U8t, W8t, JXt, y7i, S7i, C7i, and w7i functions into an in-memory Node.js test; unrelated helper dependencies were stubbed.

Assertions passed:

  • A plain text assistant message retains its body.
  • A synthetic message with model_dil_v2.fallbackMarkdown produces a bare content-reference directive.
  • The display conversion result still contains the synthetic body in contentReferences.
  • The serialized read result does not contain that body.

This verifies a concrete body-loss mechanism in the inspected client. The affected real reply's raw metadata was not obtained, and the entire Add to Codex preview-generation call chain was not traced. Thus this is strong evidence for the observed failure, not proof of every upstream field or the first affected release.

Suggested investigation

Use a model-facing text extraction path for conversation export and read_thread, rather than passing display-only Markdown directives. Resolve structured prose or use a validated fallbackMarkdown where appropriate; return an explicit unresolved-content state when resolution is unavailable.

Please cover ordinary text, whole-message structured replies, legacy DIL, tables/images, invalid or absent fallback text, and paging/truncation, then verify both Add to Codex and native read on an affected conversation.

Privacy and changes

No real conversation/message IDs, private answer text, usernames, local filesystem paths, screenshots, credentials, or raw logs are attached. No application package, session database, system setting, or network configuration was modified. Codex assisted with the investigation; the user explicitly requested this issue submission.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Oct 9, 2026
  2. landa commented on Oct 22, 2026

    @landa

    Additional macOS reproduction — October 22, 2026

    I reproduced the same native read_thread symptom from a fresh local Work chat in the desktop app on macOS. This tests the ChatGPT-backed read path, not the Quick Chat → Add to Codex UI flow. The exact desktop version/build was not collected.

    The official mcp__codex_app__read_thread call used:

    {
      "threadId": "<redacted-chatgpt-conversation-id>",
      "turnLimit": 3,
      "includeOutputs": true,
      "maxOutputCharsPerItem": 12000
    }

    The call succeeded (isError: false, schemaVersion: 1, kind: "chatgpt", thread status idle). All three returned turns were completed, and their user messages and the saved conversation title were readable. All three agentMessage.text values contained only this shape:

    ::chatgpt-content-reference{index="0" source_message_id="<redacted-assistant-message-id>"}
    

    A subsequent one-turn read still returned only the reference for the latest completed reply. Starting a fresh local coordinator chat therefore did not restore readable assistant text for this affected conversation. A separate same-value title write succeeded and its saved value was verified. The messaging tool accepted a connectivity test, but that new message/reply was not visible in subsequent reads, so I am not claiming end-to-end message delivery was verified.

    Impact: a daily automation that must read an exact title from the original conversation before applying it remains paused because the reply cannot be validated.

    This matches the reported symptom and #50329, but I have not inspected raw message metadata or the macOS client conversion code and cannot confirm a shared root cause. Could maintainers provide resolved assistant text, or a supported resolver with an explicit unresolved-content status?

    Private conversation titles, IDs, message contents, local paths, and logs are omitted.

    Written by ChatGPT Work at my request.

  3. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    Tracking this in #50329. Quick Chat shows the completed assistant reply, but Add to Codex supplies a reference in place of the answer. A native read_thread also succeeds and returns only the reference. The earlier tracker documents both the preview and the native-read result. Preview and read evidence.

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-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions