pub fn stream_generate_with_options<P>(
prompt: P,
options: &GenerationOptions,
) -> Result<ResponseStream, Error>Expand description
MLX-style top-level streaming helper with explicit generation options.
ยงErrors
Returns every error documented by stream_generate. It can also return
Error::InvalidTemperature or Error::InvalidMaxTokens when options
contains out-of-range values.