GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Send button shows the wrong action for local commands during a running turn · Issue #44944 · pingdotgg/t3code

[Bug]: Send button shows the wrong action for local commands during a running turn #44944

New issue
Copy link
New issue
Copy link
Done
#44957
Done
[Bug]: Send button shows the wrong action for local commands during a running turn#44944
#44957
Copy link

Description

@viktorce
viktorce
opened on Nov 28, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

First case, an inline context reference with no record behind it.

  1. Start the web client with vp run dev. Open a thread on the Replay (dev) provider with the "Long stream" model, which is free and keeps a turn running for a few minutes. Any thread with a running turn should do.
  2. Send a message so a turn is running.
  3. Click the composer and run this console snippet to paste a reference with no record. This snippet is what was run. Pasting that text from the clipboard as plain text should be the everyday equivalent, but was not confirmed.
const editor = document.querySelector('[data-testid="composer-editor"]');
editor.focus();
const clipboardData = new DataTransfer();
clipboardData.setData("text/plain", "[Reply](t3-context://v1/response/response_gone) ");
editor.dispatchEvent(new ClipboardEvent("paste", { clipboardData, bubbles: true, cancelable: true }));
  1. Type /clear with a trailing space after the "Reply" chip so an open menu does not catch Enter.
  2. Look at the send button, then press Enter.

Second case, a still-compressing image. During a running turn, paste an image into a draft holding /clear, /feedback slow, or /usage-limits before compression finishes. A browser test reproduced this by holding compression open rather than by hand.

Expected behavior

In the first case, the button shows "Submit message", because pressing Enter runs /clear or /feedback locally.

In the second case, the button shows "Steer message" or "Queue message", because pressing Enter waits for compression and sends a normal message.

Actual behavior

In the first case, the button shows "Steer message" or "Queue message", yet pressing Enter runs the command locally. /clear empties the composer, drops the reference, sends nothing to the agent, and displays "Your next message starts a fresh session". On a Codex thread, /feedback <reason> uploads feedback to OpenAI without the reference and sends nothing to the agent. For /clear, the mismatch happens with the reference anywhere in the draft. For /feedback, it happens when the reference comes before the command or directly after /feedback with no space.

In the second case, /clear, /feedback slow, and /usage-limits show "Submit message" while the image compresses. Pressing Enter waits for compression and sends a normal message with the image attached and the command as its text.

The cause is that apps/web/src/components/chat/ChatComposer.tsx reads raw prompt text and ignores compressing images. apps/web/src/components/chat/useComposerSend.ts strips inline context references before parsing /feedback and /clear, and waits for compressing images before checking attachments.

Impact

Minor bug or occasional failure

Both cases are rare. One needs a reference pasted as plain text and then /clear or /feedback during a running turn, and the other needs sending while an image compresses. In the first case, the user loses no real attachment, though the button promises a steer and runs a local command. For /feedback, that uploads to OpenAI. In the second case, the command text and image go to the agent as a normal message, although the button showed plain send.

Version or commit

main @ b927b1f

Environment

macOS, web client from a source checkout with vp run dev in T3 Code's built-in browser, Replay (dev) provider with the "Long stream" scenario.

Logs or stack traces

No response

Screenshots, recordings, or supporting files

Before pressing Enter After pressing Enter
Send button showing Steer message for a Reply chip and /clear during a running turn Fresh session notice and empty composer after pressing Enter while the turn keeps running

Workaround

Remove the chip before typing /clear or /feedback.

Activity

  1. juliusmarminge
    closed this as completedin #44957on Nov 28, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.