mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
c2ac797650
commit
dd87111c80
2 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,7 @@
|
|||
export let scrollToBottom: Function = () => {};
|
||||
|
||||
export let acceptFiles = true;
|
||||
export let showFormattingButtons = true;
|
||||
|
||||
let showInputVariablesModal = false;
|
||||
let inputVariables: Record<string, any> = {};
|
||||
|
|
@ -697,6 +698,7 @@
|
|||
bind:this={chatInputElement}
|
||||
json={true}
|
||||
messageInput={true}
|
||||
{showFormattingButtons}
|
||||
shiftEnter={!($settings?.ctrlEnterToSend ?? false) &&
|
||||
(!$mobile ||
|
||||
!(
|
||||
|
|
|
|||
|
|
@ -344,6 +344,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp
|
|||
bind:chatInputElement
|
||||
acceptFiles={false}
|
||||
inputLoading={loading}
|
||||
showFormattingButtons={false}
|
||||
onSubmit={submitHandler}
|
||||
{onStop}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue