From 77509fcfb37358b3bd022593f3ff7b344a0b3e4b Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:19:31 -0600 Subject: [PATCH] Update comment for reasoning text formatting Clarifies that reasoning text should be formatted as a normal 'thought' message without a heading, improving code documentation. --- pkg/cmd/agent-task/shared/log.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/agent-task/shared/log.go b/pkg/cmd/agent-task/shared/log.go index f1dfc7640..21fd95cd9 100644 --- a/pkg/cmd/agent-task/shared/log.go +++ b/pkg/cmd/agent-task/shared/log.go @@ -111,7 +111,8 @@ func renderLogEntry(entry chatCompletionChunkEntry, w io.Writer, io *iostreams.I } if choice.Delta.ReasoningText != "" { - // Note that this should be formatted as a normal Copilot message. + // Note that this should be formatted as a normal "thought" message, + // without the heading. renderRawMarkdown(choice.Delta.ReasoningText, w, io) }