Update dependencies and fix whitespace formatting in isTTSEnabled function in tts.ts

This commit is contained in:
n4ze3m
2024-04-15 11:32:30 +05:30
parent 476323d928
commit c914233610
11 changed files with 302 additions and 115 deletions

View File

@@ -81,6 +81,7 @@ export const useMessage = () => {
signal: AbortSignal,
embeddingSignal: AbortSignal
) => {
setStreaming(true)
const url = await getOllamaURL()
const ollama = new ChatOllama({
@@ -320,6 +321,7 @@ export const useMessage = () => {
history: ChatHistory,
signal: AbortSignal
) => {
setStreaming(true)
const url = await getOllamaURL()
if (image.length > 0) {