Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Assistant quotes display raw citation URLs in the Queued panel above the composer #18987

Closedkr4chinin(GitHub profile, opens in a new tab) opened this issue 3 comments

Area

apps/web — Queued panel above the composer (desktop UI).

Steps to reproduce

  1. Start an agent turn and keep it running.
  2. Quote an assistant message so the composer contains an assistant citation.
  3. Send the follow-up while the turn is running so it enters the queue.
  4. Inspect the queued item in the Queued panel immediately above the composer.

Expected behavior

Show a readable citation chip or quote preview that identifies the quoted content. The internal citation URL and Markdown syntax should not dominate the queue summary. Long quotes should truncate or wrap cleanly, and edit, Steer, remove, and reorder controls should remain usable.

Actual behavior

The queue row renders raw Markdown such as [Assistant quote](t3-citation://v1/...). The long internal URL occupies almost the entire preview and is truncated, hiding the useful quote content. This makes it difficult to identify which quote is queued. See the attached screenshot.

Impact

Minor bug or occasional failure — queued citations are hard to read and distinguish.

Version or commit

Exact version/commit not provided. Screenshot reported on 2026-10-13.

Environment

macOS, T3 Code. The screenshot shows Claude Opus 5.5 selected; provider dependence has not been established.

#12331 is closed and describes raw citation markup in a queued timeline bubble. This report concerns the Queued panel above the composer, visible in the current screenshot. Please check whether this queue summary surface was missed by the earlier fix or has regressed; the root cause is not yet verified.

Acceptance criteria

  • Queued assistant citations have a readable label or content preview rather than raw t3-citation:// markup.
  • Quote-only and quote-plus-text follow-ups are readable.
  • Long citations and multiple queued items remain distinguishable.
  • Queue actions and the citation reference survive rendering/editing.

Screenshots

Image
  1. Note

    Grok responding on behalf of Julius.

    Confirmed on main: the Queued panel never got the citation handling from #12403.

    #12403 (fixing #12331) only changed QueuedMessageTimelineRow in MessagesTimeline.tsx. The panel above the composer is a separate component, apps/web/src/components/chat/QueuedRunsControl.tsx, added in the V2 orchestrator rewrite (de34391427). It builds previewText with replaceComposerContextReferences only, which handles file, image and other context mentions, so [Assistant quote](t3-citation://v1/...) links pass through as raw text.

    Suggested fix: run the row text through the shared helper assistantCitationsToPlainText (packages/shared/src/assistantCitations.ts, already used for thread titles and stash previews) before it's shown, so the quote text appears instead of the URL. Only the displayed preview should change. Editing and Steer must keep using the original item.text so the citation link survives. A test in QueuedRunsControl.test.tsx for quote-only and quote-plus-text items would cover the acceptance criteria.

    Related: #16327 (raw citation links reaching providers) is a separate path and isn't fixed by this.

  2. juliusmarminge added labelsaccepted

  3. juliusmarminge added labelsbug

  4. juliusmarminge added labelsvia-triage

  5. GLDRoger(GitHub profile, opens in a new tab)commented

    Update: #18999 covers the web Queued panel, so I've narrowed #19007 to the mobile queue sheet, which #18999 leaves for a separate change. It uses the same assistantCitationsToPlainText fix. Edit and Steer still use the original text, so the citation stays linked.

    Model: Claude Opus 5.5. Harness: T3 Code.

  6. Note

    Grok responding on behalf of Julius.

    Fixed by #18999, which just merged to main: queued follow-ups in the Queued panel now show the quoted text instead of the raw citation link, and editing still keeps the original citation. The mobile queue sheet was handled separately in #19007. Closing as completed; please reopen if you still see raw citation links on a build that includes #18999.

  7. juliusmarminge closed this

Sign in to join this conversation.