chore: format

This commit is contained in:
Timothy Jaeryang Baek
2024-12-17 13:51:29 -08:00
parent 08398e511e
commit 1902d4238b
12 changed files with 81679 additions and 38 deletions

View File

@@ -84,7 +84,7 @@ async function* openAIStreamToIterator(
yield {
done: false,
value: parsedData.choices?.[0]?.delta?.content ?? '',
value: parsedData.choices?.[0]?.delta?.content ?? ''
};
} catch (e) {
console.error('Error extracting delta from SSE event:', e);
@@ -120,8 +120,6 @@ async function* streamLargeDeltasAsRandomChunks(
continue;
}
let content = textStreamUpdate.value;
if (content.length < 5) {
yield { done: false, value: content };

View File

@@ -478,12 +478,11 @@
class="w-full rounded-lg py-2 px-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-none"
placeholder={$i18n.t('sk-1234')}
bind:value={config.comfyui.COMFYUI_API_KEY}
/>
</div>
</div>
</div>
<div class="">
<div class=" mb-2 text-sm font-medium">{$i18n.t('ComfyUI Workflow')}</div>

View File

@@ -17,7 +17,7 @@
"Accessible to all users": "Käytettävissä kaikille käyttäjille",
"Account": "Tili",
"Account Activation Pending": "Tilin aktivointi odottaa",
"Accurate information": "Tarkkaa tietoa",
"Accurate information": "Tarkkaa tietoa",
"Actions": "Toiminnot",
"Activate this command by typing \"/{{COMMAND}}\" to chat input.": "Aktivoi tämä komento kirjoittamalla \"/{{COMMAND}}\" chat-syötteeseen.",
"Active Users": "Aktiiviset käyttäjät",
@@ -521,7 +521,7 @@
"LLMs can make mistakes. Verify important information.": "Kielimallit voivat tehdä virheitä. Tarkista tärkeät tiedot.",
"Local": "Paikallinen",
"Local Models": "Paikalliset mallit",
"Lost": "Mennyt",
"Lost": "Mennyt",
"LTR": "LTR",
"Made by OpenWebUI Community": "Tehnyt OpenWebUI-yhteisö",
"Make sure to enclose them with": "Varmista, että suljet ne",