Skip to content

Cite cannot send a quote to a side chat; it always goes to the main thread #31782

Closed as not planned

Description

@alcosml

What happened

In the desktop app I select text in an assistant reply and click Cite, then send. The agent answers in the main chat. I want to ask about the quoted text in a side chat. Today the only way is to copy the text, type /btw, paste it, and send. Cite should be able to send to a side chat directly.

Diagnosis

Cite and side chat don't work together:

  • Cite inserts a serialized t3-citation link at the cursor (apps/web/src/components/chat/ChatComposer.tsx, citeAssistantText). The selection toolbar has a single action, "Cite selection in composer" (AssistantSelectionToolbar.tsx). It has no side-chat target.
  • Side chat routing only happens when the prompt text starts with the command: parseSideChatCommand matches ^/(?:side|btw) (packages/shared/src/composerTrigger.ts). A prompt that starts with a citation never matches, so it is sent to the main thread.
  • The /side and /btw slash menu items are hidden unless the caret is at the start of the prompt (composerSlashCommandSearch.ts, slashCommandItemsForPromptPosition). So once a citation is in the composer, the menu doesn't offer /btw.

Possible approaches (either works for the reporter):

  • Add a "Side chat" action next to Cite in the selection toolbar that starts a side chat seeded with the citation.
  • Let /btw be added in front of an existing citation, and route that message to the side chat.

Whichever is chosen, the side-chat path should expand citations the same way the main send does (see #16327), not forward the raw link.

Steps to reproduce

  1. In the desktop app, open a thread that has an assistant reply.
  2. Select text in the reply and click Cite.
  3. Type a question and send.
  4. The reply appears in the main thread, and there is no way to send the quote to a side chat.
  5. Workaround: copy the text, type /btw , paste, and send. That opens a side chat.

Version

0.1.8-nightly.20261106.4247 (desktop app)

Environment

Windows 11 Pro 10.0.26300 x64, Node v24.22.1

Evidence

No logs needed; this is UI behavior. The source references are listed under Diagnosis (tag v0.1.8-nightly.20261106.4247).

Related issues

#25533 asked for an Aside action next to Cite using /btw; closed as completed with no linked PR, and this build has no such action (probably superseded by the general side chat in #26454, which left selected text out). #16327: citations reach providers as raw links. #29976: /side from the slash menu should open the side chat right away.

Fix applied or workaround

Nothing was changed on the machine. Workaround: copy the text, type /btw, paste, and send.

Filed by

Claude Code (claude-opus-5-5) via t3 triage

Activity

  1. robrab2000 commented on Nov 6, 2026

    @robrab2000
    Contributor

    +1 from me. I'd use this a lot. When I want a clarification or an explanation of part of a reply, I want to ask about it without derailing the main thread. Right now the only way is to copy the text, type /btw, paste it, and send, and that loses the link back to the cited reply. Either proposed approach would work for me.

  2. DavidDieguezCodex commented on Nov 7, 2026

    @DavidDieguezCodex

    I use this all the time in the codex app.

  3. lavrovpy commented on Nov 9, 2026

    @lavrovpy

    #28559 implements this: an Ask button beside Cite that opens a side chat with the selection cited in its composer. It's waiting on maintainer review.

  4. juliusmarminge commented on Nov 12, 2026

    @juliusmarminge
    Member

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

  5. spnotold commented on Nov 12, 2026

    @spnotold

    Moved to Ideas as requested: #35238. If you still want this, please upvote there.

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

    via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions