Files
OSGKeyboard/Scripts/sensitive_logs_safe.fixture.swift
Rocky 9f308fadd2 feat(keyboard): ship AI hint carousel, home library cards, and clipboard polish
Rotate AI idle suggestions with optional remote packs, move history/dictionary onto self-sizing Home preview cards, harden clipboard capture/prompting, and simplify keyboard chrome by dropping most liquid-glass shadows.
2026-08-13 01:00:51 +08:00

13 lines
478 B
Swift

import Foundation
func buildRequest(apiKey: String, payload: Data, provider: String, status: Int) {
var request = URLRequest(url: URL(string: "https://example.com/v1")!)
request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
request.httpBody = payload
print("provider=\(provider) status=\(status) responseBytes=\(payload.count)")
}
func traceSafely(transcript: String) {
FlowTrace.transcript("asr.final", transcript, "source=fixture")
}