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() {
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 }
You can’t perform that action at this time.
0 commit comments