refac
This commit is contained in:
1 parent
ace3303ff5
commit
369f461691
4 files changed
+36
-19
No files matched your search
@@ -201,6 +201,14 @@
|
||||
{stopResponse}
|
||||
{createMessagePair}
|
||||
placeholder={$i18n.t('How can I help you today?')}
|
||||
onChange={(input) => {
|
||||
console.log('input', input);
|
||||
if (input.prompt !== null) {
|
||||
localStorage.setItem(`chat-input`, JSON.stringify(input));
|
||||
} else {
|
||||
localStorage.removeItem(`chat-input`);
|
||||
}
|
||||
}}
|
||||
on:upload={(e) => {
|
||||
dispatch('upload', e.detail);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user