mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 04:27:27 +00:00
fix(macos): default voice wake forwarding to webchat (#25440)
Co-authored-by: Peter Machona <7957943+chilu18@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,7 @@ enum VoiceWakeForwarder {
|
||||
var thinking: String = "low"
|
||||
var deliver: Bool = true
|
||||
var to: String?
|
||||
var channel: GatewayAgentChannel = .last
|
||||
var channel: GatewayAgentChannel = .webchat
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
|
||||
@@ -17,6 +17,7 @@ import Testing
|
||||
#expect(opts.thinking == "low")
|
||||
#expect(opts.deliver == true)
|
||||
#expect(opts.to == nil)
|
||||
#expect(opts.channel == .last)
|
||||
#expect(opts.channel == .webchat)
|
||||
#expect(opts.channel.shouldDeliver(opts.deliver) == false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user