fix: route voice wake to main

This commit is contained in:
Peter Steinberger
2025-12-20 15:30:45 +01:00
parent 066a2828c4
commit cf96ad8ef9
4 changed files with 53 additions and 4 deletions

View File

@@ -38,8 +38,7 @@ final class NodeAppModel {
init() {
self.voiceWake.configure { [weak self] cmd in
guard let self else { return }
let nodeId = UserDefaults.standard.string(forKey: "node.instanceId") ?? "ios-node"
let sessionKey = "node-\(nodeId)"
let sessionKey = "main"
do {
try await self.sendVoiceTranscript(text: cmd, sessionKey: sessionKey)
} catch {