diff --git a/bridge/aria_bridge.py b/bridge/aria_bridge.py index 48b9335..0a5999f 100644 --- a/bridge/aria_bridge.py +++ b/bridge/aria_bridge.py @@ -786,6 +786,18 @@ class ARIABridge: await self._emit_activity("idle", "") if not text: logger.warning("[core] chat final ohne Text: %s", json.dumps(payload)[:200]) + # App+Diagnostic informieren statt stumm — sonst wartet die + # UI ewig auf eine Antwort die nicht kommt. Passiert z.B. + # wenn Claude-Vision das Bild ablehnt (leere Antwort) + # oder die Antwort nur aus Tool-Calls ohne Final-Text bestand. + await self._send_to_rvs({ + "type": "chat", + "payload": { + "text": "[Hinweis] Antwort ohne Text — moeglicherweise Bild zu gross fuer Vision-API oder reine Tool-Ausfuehrung.", + "sender": "aria", + }, + "timestamp": int(asyncio.get_event_loop().time() * 1000), + }) return logger.info("[core] Antwort: '%s'", text[:80]) await self._process_core_response(text, payload)