mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
fix: resolve location data for rerun requests (#225299)
This commit is contained in:
@@ -343,7 +343,7 @@ export class RerunAction extends AbstractInlineChatAction {
|
||||
|
||||
const lastRequest = model?.getRequests().at(-1);
|
||||
if (lastRequest) {
|
||||
await chatService.resendRequest(lastRequest, { noCommandDetection: false, attempt: lastRequest.attempt + 1, location: ctrl.chatWidget.location });
|
||||
await chatService.resendRequest(lastRequest, { noCommandDetection: false, attempt: lastRequest.attempt + 1, location: ctrl.chatWidget.location, locationData: ctrl.chatWidget.getLocationData() });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user