Skip to content

Response shown twice when the agent calls task_complete outside Plan mode #6178

Backlog

Description

@roboserg

Short summary

The final answer is shown twice when the agent calls task_complete outside Plan mode (autopilot, WSL remote host).

Affected version or release

1.5.0 (stamped release build)

Installation context

Windows desktop app; in-place branch session on a WSL remote host (wsl:Ubuntu); autopilot mode

What happened?

The agent's final answer is shown twice in the conversation, as two identical messages one after the other. This happens outside Plan mode, on a release that includes the Plan mode fix from #4687 (v1.1.31).

In my session it happened when the agent wrote its answer as normal assistant text and ended the turn without calling task_complete. Autopilot then asked it to complete, and it called task_complete with the same text as the summary. The app rendered both the assistant message and the completion summary, so the answer appeared twice.

The opposite also happens: in other turns, assistant text written before task_complete is hidden and only the summary shows (#4527).

Steps to reproduce

  1. Start a session in autopilot mode (mine runs on a WSL remote host).
  2. Ask a question that the agent answers in chat, and let it end the turn without calling task_complete.
  3. Autopilot prompts the agent to call task_complete, and it repeats the answer as the summary.
  4. The same answer is shown twice in the conversation.

Expected behavior

Each answer is shown once. When the task_complete summary repeats assistant text from the same or the previous turn, the app shows it only once. Assistant text is never hidden (#4527).

Additional context

Activity

  1. added theissue type on Nov 25, 2026
  2. added
    intake-done
    and removed on Nov 25, 2026
  3. github-app-releaser commented on Nov 25, 2026

    @github-app-releaser
    Thank you for the report. The team is evaluating this request.

    Xref: github/github-app#31630

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

    Bugintake-doneos:windowstriage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions