enh: preserve input

This commit is contained in:
Timothy Jaeryang Baek
2024-12-21 09:16:29 -07:00
parent 7a787efc4b
commit 6981e1e467
2 changed files with 49 additions and 0 deletions

View File

@@ -43,6 +43,7 @@
export let transparentBackground = false;
export let onChange: Function = () => {};
export let createMessagePair: Function;
export let stopResponse: Function;
@@ -62,6 +63,13 @@
export let selectedToolIds = [];
export let webSearchEnabled = false;
$: onChange({
prompt,
files,
selectedToolIds,
webSearchEnabled
});
let loaded = false;
let recording = false;