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:
parent
887e842717
commit
77509fcfb3
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue