Skip to main content

llama_cpp_bindings/error/
token_sampling_error.rs

1/// Failed to sample a token from the data array.
2#[derive(Debug, Eq, PartialEq, thiserror::Error)]
3pub enum TokenSamplingError {
4    /// The sampler did not select any token.
5    #[error("No token was selected by the sampler")]
6    NoTokenSelected,
7}