is_gemini2_or_above

Function is_gemini2_or_above 

Source
pub fn is_gemini2_or_above(model_string: &str) -> bool
Expand description

Returns true if the model is Gemini 2.x or above.

Parses the major version number from the model name. If the name does not match the expected gemini-{major}... pattern, returns false.