refac: submit suggestion prompt by default
This commit is contained in:
@@ -202,7 +202,12 @@
|
||||
|
||||
if (type === 'prompt') {
|
||||
// Handle prompt selection
|
||||
messageInput?.setText(data);
|
||||
messageInput?.setText(data, async () => {
|
||||
if (!($settings?.insertSuggestionPrompt ?? false)) {
|
||||
await tick();
|
||||
submitPrompt(prompt);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user