Chat Sessions: components 241-260
This commit is contained in:
22 files changed
+83
-88
No files matched your search
@@ -17,7 +17,7 @@ type StopGeneratingButtonOptions struct {
|
||||
Disabled bool
|
||||
}
|
||||
|
||||
// StopGeneratingButton asks to stop a reply while one is generating; Cmd+. (Ctrl+. elsewhere) does too.
|
||||
// StopGeneratingButton asks to stop generating; Mod+. does too.
|
||||
func StopGeneratingButton(c *ui.Context, opts StopGeneratingButtonOptions) ChoiceResult {
|
||||
if !opts.Generating {
|
||||
return ChoiceResult{}
|
||||
|
||||
Reference in new issue
Block a user