diff options
Diffstat (limited to 'src/app/App.svelte')
| -rw-r--r-- | src/app/App.svelte | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/App.svelte b/src/app/App.svelte index 350db49..3024a44 100644 --- a/src/app/App.svelte +++ b/src/app/App.svelte @@ -195,6 +195,10 @@ store.queueMessage(text); } + function handleStop() { + store.stopGeneration(); + } + function handleSelectModel(model: string) { store.selectModel(model); } @@ -372,6 +376,7 @@ <Composer onSend={handleSend} onQueue={handleQueue} + onStop={handleStop} contextSize={store.activeChat.currentContextSize} status={store.activeChat.error ? "error" |
