File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
src/amazonqFeatureDev/controllers/chat Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -474,9 +474,6 @@ export class FeatureDevController {
474
474
} finally {
475
475
// Finish processing the event
476
476
this . messenger . sendAsyncEventProgress ( message . tabID , false , undefined )
477
-
478
- // Lock the chat input until they explicitly click one of the follow ups
479
- this . messenger . sendChatInputEnabled ( message . tabID , false )
480
477
}
481
478
}
482
479
@@ -518,6 +515,21 @@ export class FeatureDevController {
518
515
canSelectFiles : false ,
519
516
} ) . prompt ( )
520
517
518
+ if ( ! ( uri instanceof vscode . Uri ) ) {
519
+ this . messenger . sendAnswer ( {
520
+ tabID : message . tabID ,
521
+ type : 'system-prompt' ,
522
+ followUps : [
523
+ {
524
+ pillText : 'Select files for context' ,
525
+ type : 'ModifyDefaultSourceFolder' ,
526
+ status : 'info' ,
527
+ } ,
528
+ ] ,
529
+ } )
530
+ return
531
+ }
532
+
521
533
if ( uri instanceof vscode . Uri && ! vscode . workspace . getWorkspaceFolder ( uri ) ) {
522
534
this . messenger . sendAnswer ( {
523
535
tabID : message . tabID ,
You can’t perform that action at this time.
0 commit comments