mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05: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 scrollToBottom: Function = () => {};
|
||||||
|
|
||||||
export let acceptFiles = true;
|
export let acceptFiles = true;
|
||||||
|
export let showFormattingButtons = true;
|
||||||
|
|
||||||
let showInputVariablesModal = false;
|
let showInputVariablesModal = false;
|
||||||
let inputVariables: Record<string, any> = {};
|
let inputVariables: Record<string, any> = {};
|
||||||
|
|
@ -697,6 +698,7 @@
|
||||||
bind:this={chatInputElement}
|
bind:this={chatInputElement}
|
||||||
json={true}
|
json={true}
|
||||||
messageInput={true}
|
messageInput={true}
|
||||||
|
{showFormattingButtons}
|
||||||
shiftEnter={!($settings?.ctrlEnterToSend ?? false) &&
|
shiftEnter={!($settings?.ctrlEnterToSend ?? false) &&
|
||||||
(!$mobile ||
|
(!$mobile ||
|
||||||
!(
|
!(
|
||||||
|
|
|
||||||
|
|
@ -344,6 +344,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp
|
||||||
bind:chatInputElement
|
bind:chatInputElement
|
||||||
acceptFiles={false}
|
acceptFiles={false}
|
||||||
inputLoading={loading}
|
inputLoading={loading}
|
||||||
|
showFormattingButtons={false}
|
||||||
onSubmit={submitHandler}
|
onSubmit={submitHandler}
|
||||||
{onStop}
|
{onStop}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue