detectPlatform

fun detectPlatform(log: (CodBi.LogLevel, String) -> Unit, windowsExeName: String = "llama-server.exe", unixExeName: String = "LLAMA-Server"): PlatformDetector.Platform

Detects the current server platform from JVM system properties.

Return

The detected Platform.

Parameters

log

Log function for diagnostic output.