File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4223,6 +4223,10 @@ impl App {
42234223 self . chat_widget
42244224 . submit_user_message_with_mode ( text, collaboration_mode) ;
42254225 }
4226+ AppEvent :: AutoNextPromptGenerated { thread_id, prompt } => {
4227+ self . chat_widget
4228+ . handle_auto_next_prompt_generated ( thread_id, prompt) ;
4229+ }
42264230 AppEvent :: ManageSkillsClosed => {
42274231 self . chat_widget . handle_manage_skills_closed ( ) ;
42284232 }
Original file line number Diff line number Diff line change @@ -511,6 +511,12 @@ pub(crate) enum AppEvent {
511511 collaboration_mode : CollaborationModeMask ,
512512 } ,
513513
514+ /// Deliver an asynchronously generated auto-next prompt back to the active thread.
515+ AutoNextPromptGenerated {
516+ thread_id : ThreadId ,
517+ prompt : String ,
518+ } ,
519+
514520 /// Open the approval popup.
515521 FullScreenApprovalRequest ( ApprovalRequest ) ,
516522
You can’t perform that action at this time.
0 commit comments