diff --git a/app/api/ws.py b/app/api/ws.py index b5c85c7..a9a43e7 100644 --- a/app/api/ws.py +++ b/app/api/ws.py @@ -209,7 +209,10 @@ async def _voice_turn(websocket, store, user, session_id, audio, fmt, options): return await websocket.send_json({"type": "transcript", "text": transcript}) if not transcript or not transcript.strip(): - await websocket.send_json({"type": "error", "detail": "empty transcript"}) + await websocket.send_json({ + "type": "error", + "detail": "Keine Sprache erkannt — bitte erneut sprechen.", + }) return await _run_turn(websocket, store, user, session_id, route, orchestrator, output, transcript, options)