package com.garfiec.librechat.feature.files.platform

actual fun formatFileSize(bytes: Long): String {
    // Simple human-readable formatter that doesn't need Context
    if (bytes < 1024) return "$bytes B"
    val kb = bytes / 1024.0
    if (kb < 1024) return "%.1f KB".format(kb)
    val mb = kb / 1024.0
    if (mb < 1024) return "%.1f MB".format(mb)
    val gb = mb / 1024.0
    return "%.1f GB".format(gb)
}
