File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1529,7 +1529,8 @@ export class ChatWidget extends Disposable implements IChatWidget {
15291529 }
15301530
15311531 // Set loading guard to prevent infinite loop
1532- this . _isLoadingPromptDescriptions = true ; try {
1532+ this . _isLoadingPromptDescriptions = true ;
1533+ try {
15331534 // Get all available prompt files with their metadata
15341535 const promptCommands = await this . promptsService . findPromptSlashCommands ( ) ;
15351536
Original file line number Diff line number Diff line change @@ -123,7 +123,8 @@ export class ComputeAutomaticInstructions {
123123 // If both settings are disabled, return true to hide the hint (since the features aren't enabled)
124124 if ( ! useCopilotInstructionsFiles && ! useAgentMd ) {
125125 return true ;
126- } const { folders } = this . _workspaceService . getWorkspace ( ) ;
126+ }
127+ const { folders } = this . _workspaceService . getWorkspace ( ) ;
127128
128129 // Check for copilot-instructions.md files
129130 if ( useCopilotInstructionsFiles ) {
You can’t perform that action at this time.
0 commit comments