Skip to content

Commit 4d93d13

Browse files
committed
Missing update
1 parent 43b88b1 commit 4d93d13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ export function registerChatActions() {
746746
if (buttonItem.id) {
747747
const contextItem = context.item as ICodingAgentPickerItem;
748748
commandService.executeCommand(buttonItem.id, {
749-
uri: contextItem.uri,
749+
id: contextItem.id,
750750
$mid: MarshalledId.ChatSessionContext
751751
});
752752
}
@@ -790,13 +790,13 @@ export function registerChatActions() {
790790
true
791791
);
792792
return;
793-
} else if ((item as ICodingAgentPickerItem).uri !== undefined) {
793+
} else if ((item as ICodingAgentPickerItem).id !== undefined) {
794794
// TODO: This is a temporary change that will be replaced by opening a new chat instance
795795
if (item.buttons && item.buttons.length > 0) {
796796
const pickedItem = (item.buttons[0] as ICodingAgentPickerItem);
797797
if (pickedItem.id) {
798798
commandService.executeCommand(pickedItem.id, {
799-
uri: (item as ICodingAgentPickerItem).uri,
799+
id: (item as ICodingAgentPickerItem).id,
800800
$mid: MarshalledId.ChatSessionContext
801801
});
802802
}

0 commit comments

Comments
 (0)