mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -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}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user