This commit is contained in:
Timothy Jaeryang Baek
2025-07-09 03:15:20 +04:00
parent c2ac797650
commit dd87111c80
2 changed files with 3 additions and 0 deletions

View File

@@ -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 ||
!( !(

View File

@@ -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}
> >