We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e21df0 commit 5d85963Copy full SHA for 5d85963
src/extension/prompt/vscode-node/requestLoggerImpl.ts
@@ -219,16 +219,14 @@ export class RequestLogger extends AbstractRequestLogger {
219
result.push(`~~~`);
220
}
221
222
- if (entry.thinking) {
+ if (entry.thinking?.text) {
223
result.push(`## Thinking`);
224
if (entry.thinking.id) {
225
result.push(`thinkingId: ${entry.thinking.id}`);
226
227
- if (entry.thinking.text) {
228
- result.push(`~~~`);
229
- result.push(entry.thinking.text);
230
231
- }
+ result.push(`~~~`);
+ result.push(entry.thinking.text);
232
233
234
return result.join('\n');
0 commit comments