InvalidVectorsEmbedderConf error takes a String rather than a deserr error

This commit is contained in:
Louis Dureuil 2024-11-12 22:47:57 +01:00
parent 68bbf674c9
commit 8a6e61c77f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -343,7 +343,7 @@ impl Error {
Error::InvalidEmbedderConf { error } => {
crate::Error::UserError(UserError::InvalidVectorsEmbedderConf {
document_id,
error,
error: error.to_string(),
})
}
Error::InternalSerdeJson(error) => {