refac
This commit is contained in:
1 parent
4fd790f7dd
commit
7746e9f4b8
8 files changed
+94
-103
No files matched your search
@@ -54,6 +54,7 @@
|
||||
export let codeInterpreterEnabled = false;
|
||||
export let webSearchEnabled = false;
|
||||
|
||||
export let onUpload: Function = (e) => {};
|
||||
export let onSelect = (e) => {};
|
||||
export let onChange = (e) => {};
|
||||
|
||||
@@ -216,9 +217,7 @@
|
||||
{createMessagePair}
|
||||
placeholder={$i18n.t('How can I help you today?')}
|
||||
{onChange}
|
||||
on:upload={(e) => {
|
||||
dispatch('upload', e.detail);
|
||||
}}
|
||||
{onUpload}
|
||||
on:submit={(e) => {
|
||||
dispatch('submit', e.detail);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user