mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-26 17:45:11 +02:00
Add piperTTS in-browser text-to-speech (#2052)
* Add piperTTS in-browser text-to-speech * update vite config * Add voice default + change prod public URL * uncheck file * Error handling bump package for better quality and voices * bump package * Remove pre-packed WASM - will not support offline first solution for docker * attach TTSProvider telem
This commit is contained in:
@@ -90,6 +90,7 @@ function apiWorkspaceThreadEndpoints(app) {
|
||||
LLMSelection: process.env.LLM_PROVIDER || "openai",
|
||||
Embedder: process.env.EMBEDDING_ENGINE || "inherit",
|
||||
VectorDbSelection: process.env.VECTOR_DB || "lancedb",
|
||||
TTSSelection: process.env.TTS_PROVIDER || "native",
|
||||
});
|
||||
await EventLogs.logEvent("api_workspace_thread_created", {
|
||||
workspaceName: workspace?.name || "Unknown Workspace",
|
||||
@@ -416,6 +417,7 @@ function apiWorkspaceThreadEndpoints(app) {
|
||||
LLMSelection: process.env.LLM_PROVIDER || "openai",
|
||||
Embedder: process.env.EMBEDDING_ENGINE || "inherit",
|
||||
VectorDbSelection: process.env.VECTOR_DB || "lancedb",
|
||||
TTSSelection: process.env.TTS_PROVIDER || "native",
|
||||
});
|
||||
await EventLogs.logEvent("api_sent_chat", {
|
||||
workspaceName: workspace?.name,
|
||||
@@ -567,6 +569,7 @@ function apiWorkspaceThreadEndpoints(app) {
|
||||
LLMSelection: process.env.LLM_PROVIDER || "openai",
|
||||
Embedder: process.env.EMBEDDING_ENGINE || "inherit",
|
||||
VectorDbSelection: process.env.VECTOR_DB || "lancedb",
|
||||
TTSSelection: process.env.TTS_PROVIDER || "native",
|
||||
});
|
||||
await EventLogs.logEvent("api_sent_chat", {
|
||||
workspaceName: workspace?.name,
|
||||
|
||||
Reference in New Issue
Block a user