Skip to main content

version_line

Function version_line 

Source
fn version_line(output: &str) -> String
Expand description

The most informative single line of a version banner.

llama-server prints the version first and build details after; the first non-empty line is the one worth keeping. An entirely blank banner is recorded as "unknown" so the field is never an empty string that reads as “not recorded”.