@@ -3342,6 +3342,7 @@ export class InteractiveMode {
|
||||
}
|
||||
// If not streaming, Alt+Enter acts like regular Enter (trigger onSubmit)
|
||||
else if (this.editor.onSubmit) {
|
||||
this.editor.setText("");
|
||||
this.editor.onSubmit(text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user