From 910e74b497303f423ba91a2e5b8c6f3d1726c923 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Sun, 10 May 2026 14:59:09 +0200 Subject: [PATCH] fix(bridge): GPS-Position auch im STT-chat-Payload an Diagnostic mitgeben Die App sendet location einmal im audio-Payload. Die Bridge kannte sie zwar (ging in aria-core's Kontext rein), reichte sie aber nicht im STT- broadcast an die Diagnostic durch. Diagnostic zeigte darum bei Sprach- eingaben nie den GPS-Block. Co-Authored-By: Claude Opus 4.7 (1M context) --- bridge/aria_bridge.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bridge/aria_bridge.py b/bridge/aria_bridge.py index c16d55d..498e6cf 100644 --- a/bridge/aria_bridge.py +++ b/bridge/aria_bridge.py @@ -1634,6 +1634,11 @@ class ARIABridge: } if audio_request_id: stt_payload["audioRequestId"] = audio_request_id + # GPS aus dem Original-Audio-Payload mitgeben — Diagnostic + # zeigt sie sonst nicht an (App sendet location nur einmal, + # die im audio-Payload). Reine Anzeige-Information. + if location: + stt_payload["location"] = location ok = await self._send_to_rvs({ "type": "chat", "payload": stt_payload,