File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ export function registerChatActions() {
746
746
if ( buttonItem . id ) {
747
747
const contextItem = context . item as ICodingAgentPickerItem ;
748
748
commandService . executeCommand ( buttonItem . id , {
749
- uri : contextItem . uri ,
749
+ id : contextItem . id ,
750
750
$mid : MarshalledId . ChatSessionContext
751
751
} ) ;
752
752
}
@@ -790,13 +790,13 @@ export function registerChatActions() {
790
790
true
791
791
) ;
792
792
return ;
793
- } else if ( ( item as ICodingAgentPickerItem ) . uri !== undefined ) {
793
+ } else if ( ( item as ICodingAgentPickerItem ) . id !== undefined ) {
794
794
// TODO: This is a temporary change that will be replaced by opening a new chat instance
795
795
if ( item . buttons && item . buttons . length > 0 ) {
796
796
const pickedItem = ( item . buttons [ 0 ] as ICodingAgentPickerItem ) ;
797
797
if ( pickedItem . id ) {
798
798
commandService . executeCommand ( pickedItem . id , {
799
- uri : ( item as ICodingAgentPickerItem ) . uri ,
799
+ id : ( item as ICodingAgentPickerItem ) . id ,
800
800
$mid : MarshalledId . ChatSessionContext
801
801
} ) ;
802
802
}
You can’t perform that action at this time.
0 commit comments