Skip to content

Agent answer hidden when the turn ends with task_complete (Copilot App, autopilot) #4527

Open

Description

@tonyxu-io

Summary

In autopilot mode, the agent's actual answer didn't show up in the conversation. Only the short task_complete summary was visible. I had to ask three times before I could see the content I asked for.

Steps to reproduce

  1. In the Copilot App (CLI v1.0.90-0) with autopilot on, ask for text you can copy and share, for example "give me text I can share".

  2. The agent writes the full answer in its message, then calls task_complete with a one-line summary.

  3. Only the one-line summary is visible. The full answer is either missing or collapsed.

What I saw

  • Attempt 1: The answer was inside a fenced code block, and it rendered collapsed.

  • Attempt 2: The agent wrote the answer as plain text, then called task_complete with "Reposted the answer as plain text." I couldn't see the answer, only that summary.

  • Attempt 3: The answer showed up only after the agent copied the whole text into the task_complete summary.

Expected

  • Any assistant message written before task_complete should be visible by default, not hidden behind the completion summary.

  • A collapsed block should clearly show that it can be expanded.

Impact

  • The agent says the work is done, but I see nothing, which is confusing.

  • It wastes turns, and it makes me doubt the agent did what it says.

  • It hits deliverable text hardest (drafts, Slack messages, emails), because that text is the whole output.

Suggestions

  1. Always render the final assistant message along with the task_complete summary.

  2. If you collapse content, show a clear "show more" control.

  3. Optionally, warn the agent (or the user) when the completion summary refers to content that isn't visible.

Environment: macOS, Copilot App, CLI 1.0.90-0, model Claude Opus 5.5, autopilot mode.

Image

Activity

  1. roboserg commented on Nov 9, 2026

    @roboserg

    Seeing the same thing on desktop app 1.1.35 (stamped release build), and it happens often for me. Adding details because the same session also showed the opposite symptom, which may help narrow it down.

    Environment

    • GitHub Copilot app 1.1.35 (stamped build, not a local source build)
    • Session on a remote host (WSL: Ubuntu), in-place branch session on a repository checkout

    What happened

    1. The agent wrote its full answer, a drafted GitHub comment of about 150 words, as normal assistant text.
    2. In the same turn it called task_complete with the summary "Reply drafted."
    3. The conversation showed only "Thought for 10s" followed by "Reply drafted." The assistant text written before the task_complete call was not shown at all (not collapsed, absent). I have a screenshot of this.

    Opposite symptom earlier in the same session

    Earlier in that session, a turn showed both the assistant text and the task_complete summary, so I saw the same answer twice (similar to #4687). The agent then switched to one-line summaries to avoid the duplicates, and that is what exposed the hidden text. So within one session, assistant text written before task_complete is shown twice in some turns and dropped entirely in others.

    Expected

    Assistant text written in a turn is always shown, whether or not the turn ends with task_complete, and it's shown the same way from one turn to the next.

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