Skip to content

Commit 9d791af

Browse files
committed
Add agent name to view in chat request message
Without this the resulting history is incorrect
1 parent 3b3e8c2 commit 9d791af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ export class TerminalChatController extends Disposable implements ITerminalContr
364364
return;
365365
}
366366
this._chatService.addCompleteRequest(widget!.viewModel!.sessionId,
367-
request.message.text,
367+
// DEBT: Add hardcoded agent name until its removed
368+
`@${this._terminalAgentName} ${request.message.text}`,
368369
request.variableData,
369370
request.attempt,
370371
{

0 commit comments

Comments
 (0)