You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed59633
Browse filesBrowse the repository at this point in the historyBrowse files
/// Regenerate summary or Regenerate to-dos: asks first, as it replaces what's there. The old one
188
+
/// stays until the new one is written.
189
+
funcregenerate(_part:SummaryPart,_path:String){
190
+
guard!summarising.contains(path)else{return}
191
+
letconfirmation=part==.summary
192
+
?Confirmation(title:"Regenerate this summary?",
193
+
text:"It’s written again with your current instructions in Settings and replaces this summary, including any edits. Your transcript, notes and to-dos are kept.",
text:"They’re written again with your current instructions in Settings and replace these to-dos, including any you’ve ticked, added or edited. Your transcript, notes and summary are kept.",
letjoined=summaries.enumerated().map{"Notes on part \($0+1) of \(summaries.count):\n\($1)"}.joined(separator:"\n\n")
276
303
letprompt="\(head)\n\nThe meeting was long, so notes were written on each part of it in turn. Here they are, in order.\n\n\(joined)\n\n\(mergeTask)\n\(summaryTask)"
0 commit comments