Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/extension/prompt/vscode-node/requestLoggerImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,19 @@ export class RequestLogger extends AbstractRequestLogger {
text += d.text;
}

if (d.thinking) {
let thinking: string = '';
const thinkingId = getThinkingId(d.thinking);
const thinkingText = getThinkingText(d.thinking);
if (thinkingId) {
thinking += `\nthinkingId: ${thinkingId}\n`;
}
if (thinkingText) {
thinking += `\nthinking text: ${thinkingText}\n`;
}
text += `\n## Thinking\n~~~\n${thinking}~~~\n`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe don't show this if there is no text and no id

}

// Can include other parts as needed
if (d.copilotToolCalls) {
if (i > 0) {
Expand Down