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