Skip to content

Commit 80e0239

Browse files
authored
Ensure we end thinking in Copilot CLI sessions (#1881)
1 parent ed9a285 commit 80e0239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension/agents/copilotcli/node/copilotcliSession.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export class CopilotCLISession extends DisposableStore implements ICopilotCLISes
166166
const responsePart = processToolExecutionStart(event, this._pendingToolInvocations);
167167
if (responsePart instanceof ChatResponseThinkingProgressPart) {
168168
this._stream?.push(responsePart);
169+
this._stream?.push(new ChatResponseThinkingProgressPart('', '', { vscodeReasoningDone: true }));
169170
}
170171
}
171172
this.logService.trace(`[CopilotCLISession] Start Tool ${event.data.toolName || '<unknown>'}`);

0 commit comments

Comments
 (0)