feat: Sprachausgabe über das Gateway (POST /v1/audio/speech, Adapter tts für das Qwen3-TTS Studio) (#1060)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3Td16J38kAyDLzb39
This commit is contained in:
2026-11-17 19:44:56 +01:00
parent bdca8e0054
commit 9dd8037b64
17 changed files with 493 additions and 12 deletions

View File

@ -15,6 +15,8 @@ pub const OLLAMA: &str = "ollama";
pub const MAYA: &str = "maya";
/// Name der Engine-Zeile für Strata.
pub const STRATA: &str = "strata";
/// Name der Engine-Zeile für die Sprachausgabe (Faster Qwen3-TTS Studio).
pub const TTS: &str = "tts";
/// Eingabe für `register_llm`: ein Sprachmodell mit einem Startprofil.
#[derive(Debug, Clone)]
@ -105,9 +107,10 @@ impl Store {
&& new.engine != OLLAMA
&& new.engine != MAYA
&& new.engine != STRATA
&& new.engine != TTS
{
return Err(Error::Db(format!(
"unbekannte Engine \"{}\" (llama.cpp, ollama, maya oder strata)",
"unbekannte Engine \"{}\" (llama.cpp, ollama, maya, strata oder tts)",
new.engine
)));
}