use troupekit_core::error::CoreError;
#[derive(Debug, Clone, PartialEq, thiserror::Error)]
pub enum ContextError {
#[error(transparent)]
Core(#[from] CoreError),
#[error("invalid input: {0}")]
Invalid(String),
#[error("embedding failed: {0}")]
Embed(String),
}