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
9f981db0b9
commit
33e54a9d3b
2 changed files with 8 additions and 2 deletions
|
|
@ -32,7 +32,11 @@
|
|||
<div
|
||||
contenteditable="true"
|
||||
bind:this={textareaElement}
|
||||
class="{className} whitespace-pre-wrap relative {!value.trim() ? 'placeholder' : ''}"
|
||||
class="{className} whitespace-pre-wrap relative {value
|
||||
? !value.trim()
|
||||
? 'placeholder'
|
||||
: ''
|
||||
: 'placeholder'}"
|
||||
style="field-sizing: content; -moz-user-select: text !important;"
|
||||
on:input={() => {
|
||||
const text = textareaElement.innerText;
|
||||
|
|
|
|||
|
|
@ -68,7 +68,9 @@
|
|||
}
|
||||
};
|
||||
|
||||
let params = {};
|
||||
let params = {
|
||||
system: ''
|
||||
};
|
||||
let capabilities = {
|
||||
vision: true,
|
||||
usage: undefined,
|
||||
|
|
|
|||
Loading…
Reference in a new issue