fn read_i32(
obj: &Map<String, Value>,
key: &'static str,
issues: &mut Vec<FieldIssue>,
) -> Option<i32>Expand description
Read one integer field.
A float with no fractional part is accepted, because llama.cpp accepts
top_k: 40.0 and several clients emit every number as a float. A float
that would lose information is not.