pub fn stream_generate<P>(prompt: P) -> Result<ResponseStream, Error>Expand description
MLX-style top-level streaming helper.
ยงErrors
Returns Error::NullByte for invalid prompt text,
Error::Unavailable when Apple Intelligence is unavailable, or
Error::Generation if stream startup fails.