fix(macos): fix swiftformat lint in A2UI handler

This commit is contained in:
Peter Steinberger
2026-01-06 21:53:54 +01:00
parent 9b6e2478f5
commit b0bd7b946e

View File

@@ -79,14 +79,15 @@ final class CanvasA2UIActionMessageHandler: NSObject, WKScriptMessageHandler {
GatewayProcessManager.shared.setActive(true) GatewayProcessManager.shared.setActive(true)
} }
let result = await GatewayConnection.shared.sendAgent(GatewayAgentInvocation( let result = await GatewayConnection.shared.sendAgent(
message: text, GatewayAgentInvocation(
sessionKey: self.sessionKey, message: text,
thinking: "low", sessionKey: self.sessionKey,
deliver: false, thinking: "low",
to: nil, deliver: false,
provider: .last, to: nil,
idempotencyKey: actionId)) provider: .last,
idempotencyKey: actionId))
await MainActor.run { await MainActor.run {
guard let webView else { return } guard let webView else { return }