chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-02-12 23:28:57 -08:00
parent 83e5db7be7
commit 5626426c31
54 changed files with 957 additions and 26 deletions
@@ -725,10 +725,12 @@
sourceButton.click();
} else if (sourcesCollapsible) {
// Open sources collapsible so we can click the source button
sourcesCollapsible.querySelector("div:first-child").dispatchEvent(new PointerEvent('pointerup', {}))
sourcesCollapsible
.querySelector('div:first-child')
.dispatchEvent(new PointerEvent('pointerup', {}));
// Wait for next frame to ensure DOM updates
await new Promise(resolve => {
await new Promise((resolve) => {
requestAnimationFrame(() => {
requestAnimationFrame(resolve);
});
@@ -128,6 +128,10 @@
<div class="my-1.5">
<div class="text-xs text-gray-500">
{$i18n.t('Connect to your own OpenAI compatible API endpoints.')}
<br />
{$i18n.t(
'Ensure that CORS is properly configured to allow requests from Open WebUI.'
)}
</div>
</div>
</div>
+1 -1
View File
@@ -47,7 +47,7 @@
export let hide = false;
</script>
<div id={id} class={className}>
<div {id} class={className}>
{#if title !== null}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->