pub async fn generate<P>(prompt: P) -> Result<String, Error>Expand description
MLX-style top-level text generation helper.
Each call creates a fresh session with no prior context. For multi-turn
conversations use LanguageModelSession directly.
ยงErrors
Returns every error documented by respond.