fix(tts): leerer Audio-Strom des Studios wird zu 502 (#1109), nicht installierte Studio-Modelle werden ausgeblendet und abgelehnt (#1110), Version 0.1.10-rc5
All checks were successful
ci / pruefen (push) Successful in 1m37s
release / binary (push) Successful in 1m59s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg5YdSXUmKzjHCaEWQp
This commit is contained in:
2026-11-18 10:05:02 +01:00
parent e07f6a0b56
commit 70aaf7f375
11 changed files with 178 additions and 12 deletions

View File

@ -119,6 +119,16 @@ impl ApiError {
)
}
/// Die Engine hat die Antwort begonnen, aber keinen Ton geliefert (leerer oder abgebrochener Strom, → #1109).
pub fn no_audio() -> Self {
Self::new(
StatusCode::BAD_GATEWAY,
"server_error",
"upstream_no_audio",
"Das Sprachmodell hat keinen Ton geliefert. Details stehen im Log des Gateways und im Log der Engine.",
)
}
pub fn internal() -> Self {
Self::new(
StatusCode::INTERNAL_SERVER_ERROR,