[feat] oobabooga streaming

This commit is contained in:
aegkmq
2023-08-01 17:23:06 +09:00
parent 8aacea9f1a
commit f0257aca50
2 changed files with 51 additions and 1 deletions

View File

@@ -54,6 +54,10 @@
onDestroy(() => {
unsub()
})
$: if($DataBase.aiModel === 'textgen_webui'){
$DataBase.useStreaming = $DataBase.textgenWebUIURL.startsWith('ws')
}
</script>
<h2 class="mb-2 text-2xl font-bold mt-2">{language.chatBot}</h2>