import Foundation /// Schmaler interner Helper für Bytes-Anzeige in der UI. Bewusst kein /// `public`, weil das nicht Teil der ManaLLMUI-API ist — Apps sollen /// ihren eigenen `ByteCountFormatter` haben, wenn sie Bytes /// formatieren müssen. enum ByteFormatter { static func string(fromByteCount bytes: Int64) -> String { let formatter = ByteCountFormatter() formatter.allowedUnits = [.useGB, .useMB] formatter.countStyle = .file return formatter.string(fromByteCount: bytes) } }