File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
packages/toolkit/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 @@ -478,9 +478,6 @@ export class FeatureDevController {
478
478
} finally {
479
479
// Finish processing the event
480
480
this . messenger . sendAsyncEventProgress ( message . tabID , false , undefined )
481
-
482
- // Lock the chat input until they explicitly click one of the follow ups
483
- this . messenger . sendChatInputEnabled ( message . tabID , false )
484
481
}
485
482
}
486
483
@@ -522,6 +519,21 @@ export class FeatureDevController {
522
519
canSelectFiles : false ,
523
520
} ) . prompt ( )
524
521
522
+ if ( ! ( uri instanceof vscode . Uri ) ) {
523
+ this . messenger . sendAnswer ( {
524
+ tabID : message . tabID ,
525
+ type : 'system-prompt' ,
526
+ followUps : [
527
+ {
528
+ pillText : 'Select files for context' ,
529
+ type : 'ModifyDefaultSourceFolder' ,
530
+ status : 'info' ,
531
+ } ,
532
+ ] ,
533
+ } )
534
+ return
535
+ }
536
+
525
537
if ( uri instanceof vscode . Uri && ! vscode . workspace . getWorkspaceFolder ( uri ) ) {
526
538
this . messenger . sendAnswer ( {
527
539
tabID : message . tabID ,
You can’t perform that action at this time.
0 commit comments