Update comment for reasoning text formatting

Clarifies that reasoning text should be formatted as a normal 'thought' message without a heading, improving code documentation.
This commit is contained in:
Kynan Ware 2025-09-15 14:19:31 -06:00
parent 887e842717
commit 77509fcfb3

View file

@ -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)
}